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§
- Pending
- Creates a future which never resolves, representing a computation that never finishes.
- PollFn
- A Future that wraps a function returning
Poll
. - Ready
- A future that is immediately ready with a value.
Traits§
- Future
- A future represents an asynchronous computation obtained by use of
async
. - Into
Future - Conversion into a
Future
. - Async
Drop Experimental - Async version of Drop trait.
Functions§
- 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.
- async_
drop_ ⚠in_ place Experimental - Async drop.