Struct tari_pubsub::TopicPayload
source · [−]pub struct TopicPayload<T, M> { /* private fields */ }
Expand description
The container for a message that is passed along the pub-sub channel that contains a Topic to define the type of message and the message itself.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, M> RefUnwindSafe for TopicPayload<T, M> where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for TopicPayload<T, M> where
M: Send,
T: Send,
impl<T, M> Sync for TopicPayload<T, M> where
M: Sync,
T: Sync,
impl<T, M> Unpin for TopicPayload<T, M> where
M: Unpin,
T: Unpin,
impl<T, M> UnwindSafe for TopicPayload<T, M> where
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more