pub struct StopCheck<'a>(/* private fields */);Expand description
A control-request check that can be used while StopTask is borrowed by a wait.
The handle borrows the backing signal, not the StopTask, and must only be
used within the current worker activation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StopCheck<'a>
impl<'a> RefUnwindSafe for StopCheck<'a>
impl<'a> Send for StopCheck<'a>
impl<'a> Sync for StopCheck<'a>
impl<'a> Unpin for StopCheck<'a>
impl<'a> UnsafeUnpin for StopCheck<'a>
impl<'a> UnwindSafe for StopCheck<'a>
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