技能 编程开发 Rust 异步编程模式

Rust 异步编程模式

v20260309
rust-async-patterns
提供面向生产的 Rust 异步模式,涵盖 Tokio 运行时、任务、通道、流与错误处理,帮助构建并发服务、排查异步问题并优化性能。
获取技能
278 次下载
概览

Rust Async Patterns

Production patterns for async Rust programming with Tokio runtime, including tasks, channels, streams, and error handling.

Use this skill when

  • Building async Rust applications
  • Implementing concurrent network services
  • Using Tokio for async I/O
  • Handling async errors properly
  • Debugging async code issues
  • Optimizing async performance

Do not use this skill when

  • The task is unrelated to rust async patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.
信息
Category 编程开发
Name rust-async-patterns
版本 v20260309
大小 5.08KB
更新时间 2026-03-10
语言