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§
- The implementation of waking a task on an executor.
- Local
Wake Experimental An analogous trait toWake
but used to construct aLocalWaker
. This API works in exactly the same way asWake
, except that it uses anRc
instead of anArc
, and the result is aLocalWaker
instead of aWaker
.