pub struct NotificationManager<M>where
M: RexMessage,{ /* private fields */ }Expand description
NotificationManager routes [Notifications] to their desired
destination
Implementations§
Source§impl<M> NotificationManager<M>where
M: RexMessage,
impl<M> NotificationManager<M>where
M: RexMessage,
pub fn new( processors: Vec<Box<dyn NotificationProcessor<M>>>, join_set: &mut JoinSet<()>, notification_queue: NotificationQueue<M>, ) -> Self
pub fn init(&self, join_set: &mut JoinSet<()>) -> NotificationQueue<M>
Auto Trait Implementations§
impl<M> Freeze for NotificationManager<M>
impl<M> !RefUnwindSafe for NotificationManager<M>
impl<M> Send for NotificationManager<M>
impl<M> Sync for NotificationManager<M>
impl<M> Unpin for NotificationManager<M>
impl<M> !UnwindSafe for NotificationManager<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