Useful Links
Computer Science
Programming
By Language
Rust Programming
1. Getting Started with Rust
2. Rust Fundamentals
3. Understanding Ownership
4. Structuring Data with Structs
5. Enums and Pattern Matching
6. Managing Growing Projects
7. Common Collections
8. Error Handling
9. Generic Types, Traits, and Lifetimes
10. Writing Automated Tests
11. Functional Programming Features
12. Smart Pointers
13. Fearless Concurrency
14. Advanced Features
15. Foreign Function Interface
16. Rust Patterns and Best Practices
Error Handling
Unrecoverable Errors
panic! Macro
When to Use panic!
Panic Behavior
Unwinding
Aborting
Backtrace Generation
Custom Panic Hooks
Recoverable Errors with Result
Result Enum Structure
Pattern Matching on Result
Result Methods
unwrap Method
expect Method
unwrap_or Method
unwrap_or_else Method
Error Propagation
? Operator
Manual Error Propagation
From Trait for Error Conversion
Error Handling Strategies
When to panic vs Return Result
Error Handling in Libraries
Error Handling in Applications
Custom Error Types
Error Trait Implementation
Error Composition
Error Context and Debugging
Previous
7. Common Collections
Go to top
Next
9. Generic Types, Traits, and Lifetimes