المزالق (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.
This segment should take about 55 minutes. It contains:
Slide | Duration |
---|---|
حجب المنفذ (Blocking the Executor) | 10 minutes |
Pin | 20 minutes |
السمات غير المتزامنة (Async Traits) | 5 minutes |
الإلغاء (Cancellation) | 20 minutes |