← All notes

Async, await, and Futures in Rust

Answer: Futures are lazy and don't do anything until you use await. An async fn desugars to a function that returns a future of its return type.

Futures

A future represents an asynchronous computation commonly obtained by async. A future is a value that may not be ready now but will become ready later.

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources and notices: The Rust Programming Language book (rust-lang/book): Copyright (c) 2010 The Rust Project Developers; MIT OR Apache-2.0, used under MIT (https://github.com/rust-lang/book/blob/main/LICENSE-MIT). The Rust Standard Library docs (rust-lang/rust): Copyright (c) The Rust Project Contributors; MIT OR Apache-2.0, used under MIT (https://github.com/rust-lang/rust/blob/master/LICENSE-MIT). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: The Rust Project (The Rust Programming Language book), Fundamentals of Asynchronous Programming: Async, Await, Futures, and Streams, MIT OR Apache-2.0; The Rust Project (The Rust Programming Language book), Futures and the Async Syntax, MIT OR Apache-2.0; The Rust Standard Library, Future trait, MIT OR Apache-2.0. Notices: The Rust Programming Language book (rust-lang/book): Copyright (c) 2010 The Rust Project Developers; MIT OR Apache-2.0, used under MIT (https://github.com/rust-lang/book/blob/main/LICENSE-MIT). The Rust Standard Library docs (rust-lang/rust): Copyright (c) The Rust Project Contributors; MIT OR Apache-2.0, used under MIT (https://github.com/rust-lang/rust/blob/master/LICENSE-MIT).

Cite this

Permanent ID: iil:note:e0pzfjfg

iinventedlight. 2026. "Async, await, and Futures in Rust." iinventedlight Library, iil:note:e0pzfjfg, version of 2026-11-09. https://iinventedlight.com/library/notes/rust-async-await-futures/. License: CC-BY-4.0.

@misc{iil_note_e0pzfjfg,
  author = {{iinventedlight}},
  title = {{Async, await, and Futures in Rust}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-09},
  url = {https://iinventedlight.com/library/notes/rust-async-await-futures/},
  note = {Permanent ID iil:note:e0pzfjfg. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/rust-async-await-futures.md.