Module task

1.51.0 · Source
Available on non-no_global_oom_handling and non-no_rc and non-no_sync only.
Expand description

Types and Traits for working with asynchronous tasks.

Note: Some of the types in this module are only available on platforms that support atomic loads and stores of pointers. This may be detected at compile time using #[cfg(target_has_atomic = "ptr")].

Traits§

Waketarget_has_atomic="ptr"
The implementation of waking a task on an executor.
LocalWakeExperimental
An analogous trait to Wake but used to construct a LocalWaker.