Rust
The Complete Guide to Rust Testing: Unit, Integration, Property-Based, and Snapshot Testing
reading time: 25 minutes
A complete overview of Rust testing strategies: unit tests, integration tests, property-based testing, snapshot testing, parameterized tests, and doctests. Learn which testing approach fits your needs.
Rust Error Handling: thiserror, anyhow, and error-envelope
reading time: 19 minutes
Three Rust error handling crates that seem to overlap but fill distinct roles. Learn when to use thiserror for typed errors, anyhow for application code, and error-envelope for HTTP boundaries.
The ? Operator in Rust: Error Propagation Demystified
reading time: 12 minutes
The ? operator looks like magic. One character that handles errors, converts types, and returns early. Understand how it actually works under the hood and when to use it.