async-book-zh
async-book-zh copied to clipboard
中文翻译:<rust-lang/async-book> Rust 中的异步编程 :heart: 2019-11-08 ✅
rust-lang/async-book

「 Rust 中的异步编程 」
中文 | english
校对 ✅
翻译的原文 | 与日期 | 最新更新 | 更多 |
---|---|---|---|
commit | ⏰ 2019-11-08 | 中文翻译 |
- [x] src/SUMMARY.md
- [x] 入门
- [x] 为什么要 async ?
- [x] async Rust 状态
- [x]
async
/.await
Primer - [x] 应用:HTTP 服务器
- [x] 幕后:执行
Future
和任务- [x]
Future
Trait - [x] 任务唤醒
Waker
- [x] 应用:生成一个执行器
- [x] 执行器和系统 IO
- [x]
- [x]
async
/await
- [x] Pinning
- [x] Streams
- [x] 迭代与并发
- [x] 一次执行多个 Futures
- [x]
join!
- [x]
select!
- [ ] TODO: Spawning
- [ ] TODO:取消和超时
- [ ] TODO:
FuturesUnordered
- [x]
- [x] 走走看看,想想
- [x] 返回类型的错误
- [x]
?
在async
代码块 - [x]
Send
估计 - [x] 递归
- [x]
async
在 Traits 上
- [ ] TODO:I/O
- [ ] TODO:
AsyncRead
以及AsyncWrite
- [ ] TODO:
- [ ] TODO:async 设计模式:解决方案和建议
- [ ] TODO:建模服务器和请求/响应模式
- [ ] TODO:管理共享状态
- [ ] TODO: 生态系统:Tokio 等
- [ ] TODO: 多多,多得多的东西?...
贡献
欢迎 👏 勘误/校对/更新贡献 😊 具体贡献请看
生活
If help, buy me coffee —— 营养跟不上了,给我来瓶营养快线吧! 💰
async-book
Rust 中的异步编程
要求
async-book 的构建需要mdbook
,您可以使用 Cargo 进行安装。
cargo install mdbook
建造
要创建完成的书,请运行mdbook build
在下生成它book/
目录。
mdbook build
发展历程
在编写过程中,查看更改非常方便,mdbook serve
将启动本地网络服务器来提供图书。
mdbook serve