pub struct ReadyGuard { /* private fields */ }Expand description
Guard that ensures ready is signaled even if task panics or is cancelled.
Created via ReadyGuard::new(), signals on drop if not already signaled.
IMPORTANT: After calling signal(), the Arc
Implementations§
Source§impl ReadyGuard
impl ReadyGuard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadyGuard
impl !RefUnwindSafe for ReadyGuard
impl Send for ReadyGuard
impl Sync for ReadyGuard
impl Unpin for ReadyGuard
impl !UnwindSafe for ReadyGuard
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