pub struct Notification<M: RexMessage>(pub M);Expand description
This is the analogue to [super::node_state_machine::Signal]
that is meant to send messages to anything that is not a
state machine
Tuple Fields§
§0: MTrait Implementations§
Source§impl<M: Clone + RexMessage> Clone for Notification<M>
impl<M: Clone + RexMessage> Clone for Notification<M>
Source§fn clone(&self) -> Notification<M>
fn clone(&self) -> Notification<M>
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 moreSource§impl<M: Debug + RexMessage> Debug for Notification<M>
impl<M: Debug + RexMessage> Debug for Notification<M>
Source§impl<M, T> GetTopic<T> for Notification<M>
impl<M, T> GetTopic<T> for Notification<M>
Auto Trait Implementations§
impl<M> Freeze for Notification<M>where
M: Freeze,
impl<M> RefUnwindSafe for Notification<M>where
M: RefUnwindSafe,
impl<M> Send for Notification<M>
impl<M> Sync for Notification<M>
impl<M> Unpin for Notification<M>where
M: Unpin,
impl<M> UnwindSafe for Notification<M>where
M: 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