pub struct StopSignal(/* private fields */);Expand description
The capture-side stop check. Owned by the capture worker, which drops it the moment recording ends — owners can rely on that drop for cleanup.
Implementations§
Trait Implementations§
Source§impl From<CancelToken> for StopSignal
impl From<CancelToken> for StopSignal
Source§fn from(cancel: CancelToken) -> Self
fn from(cancel: CancelToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StopSignal
impl !Sync for StopSignal
impl !UnwindSafe for StopSignal
impl Freeze for StopSignal
impl Send for StopSignal
impl Unpin for StopSignal
impl UnsafeUnpin for StopSignal
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