Async / await provides convenient and efficient abstraction for concurrent asynchronous programming. However, the async/await model in Rust also comes with its share of pitfalls and footguns. We illustrate some of them in this chapter.

This segment should take about 55 minutes. It contains:

Blocking the Executor10 minutes
Pin20 minutes
Async Traits5 minutes
Cancellation20 minutes