首页
(current)
分类
标签
排行榜
搜索
注册
登录
小鹤
Rust 异步编程
Rust 异步编程
语言:中文 | 章节:84 | 阅读:1509 | 收藏:0 | 评论:0
Rust 异步编程
阅读
收藏
打赏
分享
举报
目录
评论
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
文档