Module future
Asynchronous basic functionality.
Please see the fundamental async and await keywords and the async book
for more information on asynchronous programming in Rust.
Structs
Traits
- AsyncDrop Async version of Drop trait.
-
Future
A future represents an asynchronous computation, commonly obtained by use of
async. -
IntoFuture
Conversion into a
Future.
Functions
- async_drop_in_place Async drop.
- pending Creates a future which never resolves, representing a computation that never finishes.
-
poll_fn
Creates a future that wraps a function returning
Poll. - ready Creates a future that is immediately ready with a value.
Macros
- join Polls multiple futures simultaneously, returning a tuple of all results once complete.