Rust

Articles about Rust — Blockchain.

Rust · 10/27/2026 · 9 min read · 53

Building REST APIs with Axum in Rust

Build a REST API CRUD with Axum 0.8, including routing, extractors, shared state, error handling with IntoResponse, and testing handlers without opening network ports.

Rust · 10/26/2026 · 10 min read · 49

Smart Pointers in Rust: Box, Rc, and Arc

When to use Box, Rc, or Arc in Rust: heap allocation, sharing ownership in a single thread and across multiple threads, along with Weak, RefCell, and Mutex.

Rust · 10/13/2026 · 9 min read · 86

Enum and pattern matching in Rust

How to define enums with data, use match, if let, and let else to handle each case safely, plus common mistakes when working with enums in Rust.

Rust · 10/13/2026 · 10 min read · 94

Iterators and Closures in Rust

Learn about closures, the three traits Fn/FnMut/FnOnce, how to use iterator adapters like map, filter, and collect, and how to write custom iterators in Rust.

Rust · 10/06/2026 · 7 min read · 85

Result and Option: Rust-Style Error Handling

Learn about Option<T> and Result<T, E> in Rust: how to represent missing values, potential failures, and propagate errors using the ? operator instead of exceptions.