pub struct WorkGuard { /* private fields */ }
Expand description
A guard that will send a shutdown signal to the dispatcher when dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkGuard
impl RefUnwindSafe for WorkGuard
impl Send for WorkGuard
impl Sync for WorkGuard
impl Unpin for WorkGuard
impl UnwindSafe for WorkGuard
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