Available on crate feature
std
only.Expand description
Asynchronous basic functionality.
Please see the fundamental async
and await
keywords and the async book
for more information on asynchronous programming in Rust.
Macros§
- join
Experimental Polls multiple futures simultaneously, returning a tuple of all results once complete.
Structs§
- 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.
- Async
Drop InPlace Experimental A future returned by theasync_drop_in_place
.
Traits§
- A future represents an asynchronous computation obtained by use of
async
. - Conversion into a
Future
. - Async
Drop Experimental Custom code within the asynchronous destructor.
Functions§
- 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 Experimental Asynchronously drops a value by runningAsyncDrop::async_drop
on a value and its fields recursively. - async_
drop_ ⚠in_ place Experimental Creates the asynchronous destructor of the pointed-to value.