Preface
Do not use nested pattern matching in Rust. It will get chaotic really fast. Especially when you work with Option and Result types. Wrap it into a small fn to handle it better.
Example
Do not use nested pattern matching in Rust. It will get chaotic really fast. Especially when you work with Option and Result types. Wrap it into a small fn to handle it better.