[][src]Module async_std::future

Asynchronous values.

Macros

joinunstable

Awaits multiple futures simultaneously, returning all results once complete.

selectunstable

Waits for either one of several similarly-typed futures to complete.

try_joinunstable

Awaits multiple fallible futures simultaneously, returning all results once complete.

try_selectunstable

Waits for either one of several similarly-typed futures to complete.

Structs

TimeoutErrorunstable

An error returned when a future times out.

Traits

Future

A future represents an asynchronous computation.

Functions

pending

Never resolves to a value.

poll_fn

Creates a new future wrapping around a function returning Poll.

ready

Resolves to the provided value.

timeoutunstable

Awaits a future or times out after a duration of time.