[][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

LocalWakerExperimental

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

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.

Traits

UnsafeWakeExperimental

An unsafe trait for implementing custom memory management for a Waker or LocalWaker.

WakeExperimental

A way of waking up a specific task.

Functions

local_wakerExperimental

Creates a LocalWaker from a local wake.

local_waker_from_nonlocalExperimental

Creates a LocalWaker from a non-local wake.