pub struct PubMessage<A>where
A: Address,{ /* private fields */ }Expand description
A message received from a publisher. Includes the source, topic, and payload.
Implementations§
Trait Implementations§
Source§impl<A> Clone for PubMessage<A>
impl<A> Clone for PubMessage<A>
Source§fn clone(&self) -> PubMessage<A>
fn clone(&self) -> PubMessage<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<A> !Freeze for PubMessage<A>
impl<A> RefUnwindSafe for PubMessage<A>where
A: RefUnwindSafe,
impl<A> Send for PubMessage<A>
impl<A> Sync for PubMessage<A>
impl<A> Unpin for PubMessage<A>
impl<A> UnsafeUnpin for PubMessage<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for PubMessage<A>where
A: UnwindSafe,
Blanket Implementations§
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