pub enum CompletionNotifier {
OneShot(Sender<TaskCompletion>),
Periodic(PeriodicCompletionNotifier),
}Expand description
Completion notifier for one-shot tasks
一次性任务完成通知器
Variants§
OneShot(Sender<TaskCompletion>)
Periodic(PeriodicCompletionNotifier)
Auto Trait Implementations§
impl Freeze for CompletionNotifier
impl !RefUnwindSafe for CompletionNotifier
impl Send for CompletionNotifier
impl Sync for CompletionNotifier
impl Unpin for CompletionNotifier
impl !UnwindSafe for CompletionNotifier
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