Module std::source ·
Suspend execution until the result of a
Future is ready.
.awaiting a future will suspend the current function’s execution until the executor
has run the future to completion.
Read the async book for details on how
await and executors work.
await is a keyword from the 2018 edition onwards.
It is available for use in stable Rust from version 1.39 onwards.