Async Rust

Async Rust is Rust’s future-driven model for cooperative concurrency, typically executed by Tokio and shaped by cancellation, Send, pinning, and task-lifetime rules.

Concepts

Patterns

Antipatterns

See also

Futures · async and await · The Tokio Runtime · Tasks and spawn · select! · Pinning · Streams · Cancellation Safety

Sources