Implementing Rust-style Result Type in C++Implementing Rust language's Result type in C++ for returning and propagating errors