Module futures

Source
Expand description

Re-export types from the future crate.

Structs§

FutureResult
A future representing a value that is immediately ready.

Enums§

Async
Return type of future, indicating whether a value is ready or not.

Traits§

Future
Trait for types which are a placeholder of a value that may become available at some later point in time.
Stream
A stream of values, not all of which may have been produced yet.

Functions§

ok
Creates a “leaf future” from an immediate value of a finished and successful computation.

Type Aliases§

Poll
Return type of the Future::poll method, indicates whether a future’s value is ready or not.