pub struct KeeperGuard { /* private fields */ }Expand description
Pre-allocated keeper handle for ASYNC tasks. Created synchronously
on the spawning thread before the worker starts so the pipe can never
observe zero writers mid-flight; released when the worker exits.
Implementations§
Trait Implementations§
Source§impl Drop for KeeperGuard
impl Drop for KeeperGuard
Auto Trait Implementations§
impl Freeze for KeeperGuard
impl RefUnwindSafe for KeeperGuard
impl Send for KeeperGuard
impl Sync for KeeperGuard
impl Unpin for KeeperGuard
impl UnsafeUnpin for KeeperGuard
impl UnwindSafe for KeeperGuard
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