Tokio v1.0 Tutorial
首页
白天
夜间
小程序
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
Pattern matching
来源 Tokio
浏览
1
扫码
打印
2026-10-24 14:57:44
未登录游客仅可阅读
80%
章节,请您
登录
再阅读
上一篇:
下一篇:
发布点评
Introduction
Hello Tokio
The code
Breaking it down
Spawning
Accepting sockets
Concurrency
Store values
Shared state
Shared state
Strategies
Add bytes dependency
Initialize the HashMap
Update process()
Tasks, threads, and contention
Holding a MutexGuard across an .await
Channels
Channels
Message passing
Tokio’s channel primitives
Define the message type
Create the channel
Spawn manager task
Receive responses
Backpressure and bounded channels
I/O
I/O
AsyncRead and AsyncWrite
Helper functions
Echo server
Framing
Framing
Buffered reads
Parsing
Buffered writes
Async in depth
Async in depth
Futures
Executors
Wakers
Summary
A few loose ends
Select
Select
tokio::select!
Syntax
Return value
Errors
Pattern matching
Borrowing
Loops
Per-task concurrency
Streams
Streams
Iteration
Adapters
Implementing Stream
Glossary
暂无相关搜索结果!
本文档使用
WanXiangYunDang
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
微信小程序阅读
微信扫一扫,知识掌上学
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度