Rust

Rust language and standard library reference.

Collections

Rust vectors, HashMaps, HashSets, slices, and iterators — creating, iterating, and transforming

Concurrency & Async

Rust concurrency patterns — threads, channels, mutex, async/await, tokio, and common patterns

Deployment Approaches

Rust deployment strategies — static binaries, Docker, cross-compilation, systemd, cloud platforms, and CI/CD

Error Handling Patterns

Rust error handling with Result, the ? operator, custom error types, thiserror, anyhow, and common patterns

Modules, Packages & Cargo

Rust module system, visibility, use statements, crate structure, and Cargo workflow

Option & Result

Rust's Option and Result types for null-safe and error-safe code — pattern matching, combinators, the ? operator, and common patterns

Ownership, Borrowing & Lifetimes

Rust ownership model, borrowing rules, and lifetime annotations explained with examples

Structs, Enums & Traits

Rust structs, enums with data, trait definitions and implementations, and common patterns