rust-async-patterns
Installation
SKILL.md
Rust Async Patterns
Skill Resources
- Activation and cross-agent notes: references/activation.md
- Use
ultrathinkor the deepest available reasoning mode before changing architecture, security, migration, or performance-critical paths.
Async Rust is not simply "add .await." The ownership model, Send bounds, and lifetime capture rules surface unique errors that are easy to misdiagnose. This skill covers the non-obvious patterns that senior Rust engineers reach for daily.
Future Send Bound Failures
The most common async compilation error in multi-threaded runtimes:
error[E0277]: `*mut ()` cannot be sent between threads safely
--> src/handlers/process.rs:42:5
|
| future returned by `process_request` is not `Send`