Re:Announcing Rust 1.13
by Perceptes on Thursday November 10, 2016 @03:54PM
(#12924252)
The ? operator is a blanket "return from the current function if error, otherwise produce successful value." If you wanted to have conditional logic to handle the error within the current function, you'd use a match:
[ Parent
| on HN ]
To extend on this there's also a ton of great error mapping/handling functions as a part of Result.
https://doc.rust-lang.org/book/error-handling.html goes into it in great depth. It's a fair bit to grok but really shows how thorough the options Rust has when dealing with errors.