Neo Rust Expert
Write safe, maintainable, and idiomatic Rust code by strictly following the official design patterns, leveraging Rust's powerful type system, and avoiding anti-patterns.
Gotchas
- Gotcha 1 (Async Mutex Deadlock / Send Error):
In an
asyncfunction, using the standard library'sstd::sync::Mutexand holding itsMutexGuardacross an.awaitboundary will cause a compiler error becauseMutexGuarddoes not implementSendand cannot be transferred across thread
[Description truncada. Veja o README completo no GitHub.]