std::future - Rust (original) (raw)
Module future
1.36.0 · Source
Expand description
Asynchronous basic functionality.
Please see the fundamental async and await keywords and the async bookfor more information on asynchronous programming in Rust.
joinExperimental
Polls multiple futures simultaneously, returning a tuple of all results once complete.
Creates a future which never resolves, representing a computation that never finishes.
A Future that wraps a function returning Poll.
A future that is immediately ready with a value.
A future represents an asynchronous computation obtained by use of async.
Conversion into a Future
.
AsyncDropExperimental
Async version of Drop trait.
Creates a future which never resolves, representing a computation that never finishes.
Creates a future that wraps a function returning Poll.
Creates a future that is immediately ready with a value.
async_drop_in_place⚠Experimental
Async drop.