[][src]Module std::task

🔬 This is a nightly-only experimental API. (futures_api #50547)

futures in libcore are unstable

Types and Traits for working with asynchronous tasks.

Structs

ContextExperimental

The Context of an asynchronous task.

RawWakerExperimental

A RawWaker allows the implementor of a task executor to create a Waker which provides customized wakeup behavior.

RawWakerVTableExperimental

A virtual function pointer table (vtable) that specifies the behavior of a RawWaker.

WakerExperimental

A Waker is a handle for waking up a task by notifying its executor that it is ready to be run.

Enums

PollExperimental

Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.