← blog

How Rust Async Actually Works Under the Hood

A walk-through of how async fn lowers to a state machine, what Pin actually buys you, and why wakers exist.