Rust 异步编程
白天
夜间
首页
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
Graceful shutdown
来源 kamyuentse
浏览
65
扫码
分享
2023-11-26 22:11:17
Graceful shutdown
Graceful shutdown
若有收获,就点个赞吧
0 人点赞
上一篇:
下一篇:
Rust异步编程 (Work in Progress)
目录
空标题文档
Building a custom executor
Managing the Tokio event loop
空标题文档
Backpressure
Buffering and bytes
空标题文档
When to use combinators
Tasks versus threads
Effective programming with futures
Library guidelines
Organizing libraries and applications
Resource management
Graceful shutdown
Structuring tasks
Rust异步编程: 你需要知道的事
Batteries included
Networking
DNS
Gzip
HTTP
TLS
UDP
Websockets
Services
Databases
File I/O
inotify
Named piped
Processes
Signals
Timers
Adding caching
A crash course
Serving files
Hello, world!
Adding streaming
空标题文档
Comparisons to other languages
Rationale for the “pull” model
Cancellation
Futures
The combinators
The core definition
Push and pull: futures and tasks
Example: ReadExact
Relating sync and async
Example: a timeout wrapper
空标题文档
Example: a chat server
空标题文档
空标题文档
Example: write buffering
空标题文档
The combinators
The core definition
空标题文档
The combinators
The core definition
Example: a stream of lines
任务模型(Task Model)
一个玩具事件循环
一个玩具任务执行器
整合任务执行器与事件循环
背景: 同步 vs. 异步
Event loops
Executors
The real task system
Tasks
通过任务(task)掌握异步编程
Tokio: async network I/O
Reading and writing
Closing down a connection
Acquiring a socket
Transforming at the byte level
空标题文档
Decoding
Encoding
Framing
Transport layers
Length-delimited framing
暂无相关搜索结果!
让时间为你证明
分享,让知识传承更久远
×
文章二维码
×
手机扫一扫,轻松掌上读
文档下载
×
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
书签列表
×
阅读记录
×
阅读进度:
0.00%
(
0/0
)
重置阅读进度
×
思维导图备注