macro_rules! unwrap_ok_or_return {
($expr:expr) => { ... };
}Expand description
Takes a Result and evaluates to the unwrapped Ok value, or if it’s Err, returns the Err
to the current function’s caller.
See also unwrap_some_or_return!.
macro_rules! unwrap_ok_or_return {
($expr:expr) => { ... };
}Takes a Result and evaluates to the unwrapped Ok value, or if it’s Err, returns the Err
to the current function’s caller.
See also unwrap_some_or_return!.