Learing Rust
I have a small project of building a personal finance system. Keeping track of my accounts, mortgages, investments, and so on. It is mostly an excuse to learning to write some stuff in Rust, because why not.
Types
| Type | Note |
|---|---|
Result<T> | An important part of Rust's exception handling. If a function returns a Result of some type, you can handle it like so: some_fn()? // Propagate the error, don't touch it.some_fn().unwrap() // Get the value insisde the Result, crash if error. some_fn().ok() // Just the value inside Result, ignore error. |