std::macros::try
macro_rules! try( ($e:expr) => (match $e { Ok(e) => e, Err(e) => return Err(e) }) )
Helper macro for unwrapping Result
values while returning early with an
error if the value of the expression is Err
. For more information, see
std::io
.