Skip to content

Glossary: Rust Beyond the Basics

.await

Also written: await

Runs a future to completion and gives its result. It can be used only inside an `async fn` or async block.

Where the book teaches it

Related terms

futureasync fn