[][src]Module futures_util::task

Task notification

Structs

AtomicWaker

A synchronization primitive for task wakeup.

Context

The Context of an asynchronous task.

RawWaker

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

RawWakerVTable

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

Waker

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

WakerRef

A Waker that is only valid for a given lifetime.

Enums

Poll

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

Traits

ArcWake

A way of waking up a specific task.

LocalSpawnExt

Extension trait for LocalSpawn.

SpawnExt

Extension trait for Spawn.

Functions

noop_waker

Create a new Waker which does nothing when wake() is called on it.

noop_waker_ref

Get a static reference to a Waker which does nothing when wake() is called on it.

waker

Creates a Waker from an Arc<impl ArcWake>.

waker_ref

Creates a reference to a Waker from a reference to Arc<impl ArcWake>.