1分钟内可阅读完
译文 · 基于 Asynchronous Programming in Rust
原文链接: https://rust-lang.github.io/async-book/navigation/index.html
Async/async
async
await
阻塞
取消
CancellationToken
select
并发
join
协作式调度
执行器
Future
IO
加入任务
JoinHandle
abort
多个运行时
多任务
并行
固定、Pin
race
反应器
运行时
调度器
spawn 任务
任务
测试
线程
Tokio
Traits
try_join
Unpin
等待
让出
yield_now