general:rust
This is an old revision of the document!
Rust error handling
Use #[non_exhaustive] for error enums to avoid API breaks when just adding a new type of error. https://www.youtube.com/watch?v=rAF8mLI0naQ&t=1355s
general/rust.1647029956.txt.gz · Last modified: 2022/03/11 20:19 by sunkan