Unwraps the Ok branch of a Result and returns the error from the calling function otherwise.
( $ val : expr ) => {
match $ val {
:: std:: result:: Result:: Ok ( v ) => v , :: std:: result:: Result:: Err ( e
) => return :: std:: result:: Result:: Err ( e ) , } }