pub struct SimplePublisher<T, P> { /* private fields */ }Expand description
A Publisher that uses the uProtocol Transport Layer API for publishing events to topics.
Implementations§
Source§impl<T: UTransport, P: LocalUriProvider> SimplePublisher<T, P>
impl<T: UTransport, P: LocalUriProvider> SimplePublisher<T, P>
Trait Implementations§
Source§impl<T, P> Debug for SimplePublisher<T, P>
impl<T, P> Debug for SimplePublisher<T, P>
Source§impl<T: UTransport, P: LocalUriProvider> Publisher for SimplePublisher<T, P>
impl<T: UTransport, P: LocalUriProvider> Publisher for SimplePublisher<T, P>
Auto Trait Implementations§
impl<T, P> Freeze for SimplePublisher<T, P>
impl<T, P> RefUnwindSafe for SimplePublisher<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for SimplePublisher<T, P>
impl<T, P> Sync for SimplePublisher<T, P>
impl<T, P> Unpin for SimplePublisher<T, P>
impl<T, P> UnwindSafe for SimplePublisher<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<TCore> UWithNativePrefixWire for TCore
impl<TCore> UWithNativePrefixWire for TCore
Source§fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
Wraps this core with an external or custom selected wire using canonical metadata.
Source§fn into_protobuf_transport(
self,
) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
fn into_protobuf_transport( self, ) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
Wraps this core with the Protocol Buffers selected-wire profile.
Source§fn into_stable_container_transport(
self,
) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
fn into_stable_container_transport( self, ) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
Wraps this core with the stable-container selected-wire profile.