DropGuard
struct · ferroui-system · v0.5.0
struct DropGuard
Cancels its token when it is dropped (CancellationToken::drop_guard), unless it is
disarmed.
Members
disarm
fn disarm(self: Self) -> CancellationToken
Gives the token back without canceling it.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyDropDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.