pub struct SimpleNotificationCode {
pub data: Arc<RwLock<HashMap<Uuid, Arc<RwLock<Box<OnJobNotification>>>>>>,
}
Fields§
§data: Arc<RwLock<HashMap<Uuid, Arc<RwLock<Box<OnJobNotification>>>>>>
Trait Implementations§
Source§impl Default for SimpleNotificationCode
impl Default for SimpleNotificationCode
Source§impl ToCode<Box<dyn FnMut(Uuid, Uuid, JobState) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>> for SimpleNotificationCode
impl ToCode<Box<dyn FnMut(Uuid, Uuid, JobState) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>> for SimpleNotificationCode
impl NotificationCode for SimpleNotificationCode
Auto Trait Implementations§
impl Freeze for SimpleNotificationCode
impl !RefUnwindSafe for SimpleNotificationCode
impl Send for SimpleNotificationCode
impl Sync for SimpleNotificationCode
impl Unpin for SimpleNotificationCode
impl !UnwindSafe for SimpleNotificationCode
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