Expand description
Types and Traits for working with asynchronous tasks.
Macros§
- Extracts the successful type of a
Poll<T>.
Structs§
- The context of an asynchronous task.
- A
RawWakerallows the implementor of a task executor to create aWakeror aLocalWakerwhich provides customized wakeup behavior. - A virtual function pointer table (vtable) that specifies the behavior of a
RawWaker. - A
Wakeris a handle for waking up a task by notifying its executor that it is ready to be run. - ContextBuilderExperimentalA Builder used to construct a
Contextinstance with support forLocalWaker. - LocalWakerExperimental
Enums§
- Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.
Traits§
- The implementation of waking a task on an executor.
- LocalWakeExperimentalAn analogous trait to
Wakebut used to construct aLocalWaker. This API works in exactly the same way asWake, except that it uses anRcinstead of anArc, and the result is aLocalWakerinstead of aWaker.