Search across all documentation pages
12 pages in this section.
Why an `async fn` compiles to a lazy, poll-based state machine, why that state machine does nothing without an executor, and why self-referential state machines force the `Pin` API to exist.
Explore Rust async basics with 9 examples. Learn about async fn, lazy futures, and concurrent tasks using tokio::spawn.
Combine Rust futures using join!, try_join!, select!, or FuturesUnordered to run independent async tasks concurrently or race for the first completion.
Learn how Rust async cooperative cancellation works by dropping futures or calling JoinHandle::abort. Implement timeouts and graceful shutdowns.
Learn best practices for responsive async Rust services, covering non-blocking I/O, structured concurrency, and runtime boundaries for Axum/Tokio.
A single-page roundup of every highlight bullet from the 11 pages in the Async & Futures section, grouped by source page so you can scan all 65 takeaways without opening each article individually.