Module core::task

1.36.0 · source · []
Expand description

Types and Traits for working with asynchronous tasks.

Macros

Extracts the successful type of a Poll<T>.

Structs

ReadyExperimental
Extracts the successful type of a Poll<T>.
The context of an asynchronous task.
A RawWaker allows the implementor of a task executor to create a Waker which provides customized wakeup behavior.
A virtual function pointer table (vtable) that specifies the behavior of a RawWaker.
A Waker is a handle for waking up a task by notifying its executor that it is ready to be run.

Enums

Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.