FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    id

    fn id(self: &Self) -> Id
    

    The id of the task.

    Source

    is_finished

    fn is_finished(self: &Self) -> bool
    

    Whether the task has ended, in any way, and its future is dropped.

    Source

    abort

    fn abort(self: &Self)
    

    Aborts the task, as JoinHandle::abort does, unless it has ended.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.