pub struct NotificationQueue<M: RexMessage>(/* private fields */);Implementations§
Source§impl<M: RexMessage> NotificationQueue<M>
impl<M: RexMessage> NotificationQueue<M>
pub fn new() -> Self
pub fn send(&self, notif: Notification<M>)
pub fn priority_send(&self, notif: Notification<M>)
pub fn stream(&self) -> StreamReceiver<'_, Notification<M>>
Trait Implementations§
Source§impl<M: Clone + RexMessage> Clone for NotificationQueue<M>
impl<M: Clone + RexMessage> Clone for NotificationQueue<M>
Source§fn clone(&self) -> NotificationQueue<M>
fn clone(&self) -> NotificationQueue<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 NotificationQueue<M>
impl<M: Debug + RexMessage> Debug for NotificationQueue<M>
Source§impl<M: Default + RexMessage> Default for NotificationQueue<M>
impl<M: Default + RexMessage> Default for NotificationQueue<M>
Source§fn default() -> NotificationQueue<M>
fn default() -> NotificationQueue<M>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<M> Freeze for NotificationQueue<M>
impl<M> !RefUnwindSafe for NotificationQueue<M>
impl<M> Send for NotificationQueue<M>
impl<M> Sync for NotificationQueue<M>
impl<M> Unpin for NotificationQueue<M>
impl<M> !UnwindSafe for NotificationQueue<M>
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