Asynchronous Programming in Rust

Topic index

Concurrency and parallelism

  • Introduction
  • Running async tasks in parallel using spawn
  • Running futures concurrently using join and select
  • Mixing sync and async concurrency

Correctness and safety

  • Cancellation
    • Introduction
    • In select and try_join

Performance

  • Blocking
    • Introduction
    • Blocking and non-blocking IO
    • CPU-intensive code

Testing

  • Unit test syntax