[][src]Module async_std::future

Asynchronous values.

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.