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

Rust异步编程模式

v20260509
rust-async-patterns
本技能提供基于Tokio运行时、生产级的Rust异步编程模式。它涵盖了任务管理、通道、流和错误处理等核心概念。适用于构建并发网络服务、开发复杂的异步应用,以及优化Rust程序的性能。
获取技能
50 次下载
概览

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.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
信息
Category 编程开发
Name rust-async-patterns
版本 v20260509
大小 5.22KB
更新时间 2026-05-10
语言