FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DispatcherPriorityTaskAwaitable

    struct · ferroui-base · v0.5.0

    struct DispatcherPriorityTaskAwaitable<F: Future>
    

    A future that awaits another future and then resumes the awaiting code from a dispatcher job of the requested priority, yielding the inner future's output. Created by Dispatcher::await_with_priority.

    The awaiting code is resumed through the dispatcher even when the inner future is already complete.

    View source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • IntoFuture
    • ErasedDestructor
    • IntoEither
    • Unpin
    • Future

    Availability

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