pub struct LocalCancellationTokenRegistration { /* private fields */ }Expand description
A callback registered with CancellationToken::register_local; it belongs to the thread
that registered it.
Implementations§
Auto Trait Implementations§
impl !Send for LocalCancellationTokenRegistration
impl !Sync for LocalCancellationTokenRegistration
impl Freeze for LocalCancellationTokenRegistration
impl RefUnwindSafe for LocalCancellationTokenRegistration
impl Unpin for LocalCancellationTokenRegistration
impl UnsafeUnpin for LocalCancellationTokenRegistration
impl UnwindSafe for LocalCancellationTokenRegistration
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