LocalCancellationTokenRegistration
struct · ferroui-system · v0.5.0
struct LocalCancellationTokenRegistration
A callback registered with CancellationToken::register_local_handle; it belongs to the
thread that registered it.
Deprecated since 0.5.0. use
CancellationGuard, fromCancellationToken::register_local;detach()keeps the callback
Members
dispose
fn dispose(self: &Self)
Removes the callback so that it no longer runs on cancellation.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyFrom<LocalCancellationTokenRegistration>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.