Rust / Intermediate
Rust โ Intermediate
Design reusable borrowed interfaces, errors, modules, iteration, and tests.
What you will learn
- Explain ownership and failure contracts for this levelโs abstractions.
- Solve worked exercises and verify complete examples independently.
Result, errors, and recovery
Represent expected failure in return types, propagate context deliberately, and distinguish recoverable domain errors from invariant-breaking panics.
Start learningTraits, generics, and bounds
Describe shared behavior with traits and write generic functions whose bounds express the operations they actually require.
Start learningLifetimes and borrowed APIs
Describe relationships between references without claiming to extend object lifetimes, and choose owned results when a borrow cannot safely escape.
Start learningModules, crates, and documentation
Organize a Rust package around controlled visibility, explicit dependencies, and examples that can be checked as part of the public contract.
Start learningIterators, closures, and ownership
Compose lazy iteration with explicit ownership, choose closure captures deliberately, and collect only when a consumer needs an owned result.
Start learningTesting, debugging, and repeatable builds
Turn contracts into boundary tests, reproduce failures with exact build information, and choose diagnostic tools that answer a specific question.
Start learning