pub struct CaptureCancellation { /* private fields */ }Expand description
Sticky, cloneable cancellation signal for capture.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureCancellation
impl Clone for CaptureCancellation
Auto Trait Implementations§
impl Forget for CaptureCancellation
impl Freeze for CaptureCancellation
impl Move for CaptureCancellation
impl RefUnwindSafe for CaptureCancellationwhere
Atomic<usize>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
impl Send for CaptureCancellation
impl Sync for CaptureCancellation
impl Unpin for CaptureCancellation
impl UnsafeUnpin for CaptureCancellationwhere
*const ArcInner<Shared<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Shared<bool>>>: UnsafeUnpin,
impl UnwindSafe for CaptureCancellation
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