CHAPTER 01 / 06
Async runtime and futures
Understand ownership, futures, and runtimes before writing an async Rust application.
Rust ownership, futures, tasks, channels, networking, testing, and graceful shutdown with Tokio.
6 chapters · 26 topics
Understand ownership, futures, and runtimes before writing an async Rust application.
Spawn tasks, coordinate channels, share state, set timeouts, and cancel work.
Read files, buffer streams, and build TCP clients and servers with Tokio.
Shut down a TCP service cleanly and test asynchronous behavior with controlled time.
Work with signals, child processes, UDP, framed protocols, and specialized concurrency tools.
Choose feature flags and review the patterns and pitfalls of asynchronous Rust.