pub struct Topic(/* private fields */);Expand description
When publishing a message to a channel a Topic is provided.
Trait Implementations§
Source§impl<'a> From<&'a SystemEvent> for Topic
impl<'a> From<&'a SystemEvent> for Topic
Source§fn from(evt: &SystemEvent) -> Self
fn from(evt: &SystemEvent) -> Self
Converts to this type from the input type.
impl Eq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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