Module core::future

1.36.0 · source · []
Expand description

Asynchronous values.

Macros

joinExperimental

Polls multiple futures simultaneously, returning a tuple of all results once complete.

Structs

PollFnExperimental

A Future that wraps a function returning Poll.

Creates a future which never resolves, representing a computation that never finishes.

A future that is immediately ready with a value.

Traits

IntoFutureExperimental

Conversion into a Future.

A future represents an asynchronous computation.

Functions

poll_fnExperimental

Creates a future that wraps a function returning Poll.

Creates a future which never resolves, representing a computation that never finishes.

Creates a future that is immediately ready with a value.