[][src]Module futures_core::task

Task notification.

Structs

LocalWaker [
Experimental
]

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

SpawnError

An error that occurred during spawning.

Waker [
Experimental
]

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

Enums

Poll [
Experimental
]

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

Traits

LocalSpawn

The LocalSpawn is similar to [Spawn], but allows spawning futures that don't implement Send.

Spawn

The Spawn trait allows for pushing futures onto an executor that will run them to completion.

UnsafeWake [
Experimental
]

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

Wake [
Experimental
]

A way of waking up a specific task.

Functions

local_waker [
Experimental
]

Creates a LocalWaker from a local wake.

local_waker_from_nonlocal [
Experimental
]

Creates a LocalWaker from a non-local wake.