Pitfalls

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.

Phần này sẽ kéo dài khoảng 55 phút, bao gồm:

SlideThời lượng
Blocking the Executor10 minutes
Pin20 minutes
Async Traits5 minutes
Cancellation20 minutes