[$] Canceling asynchronous Rust
Asynchronous Rust code has what Rain Paharia calls a "universal cancellationprotocol
", meaning that any asynchronous code can be interrupted in the sameway. They claimthat this is both a useful feature when used deliberately, and a source oferrors when done by accident. They presentedabout this problem atRustConf2025, offering a handful of techniques to avoid introducing bugs intoasynchronous Rust code.