AbortHandle
struct · ferroui-system · v0.5.0
struct AbortHandle
Aborts a task without owning its outcome (JoinHandle::abort_handle): any number of them,
from any thread. Dropping one does nothing to the task.
Members
id
fn id(self: &Self) -> Id
The id of the task.
is_finished
fn is_finished(self: &Self) -> bool
Whether the task has ended, in any way, and its future is dropped.
abort
fn abort(self: &Self)
Aborts the task, as JoinHandle::abort does, unless it has ended.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.