Retrieve the value from an Err result.
This override documents that an error is thrown when unwrapping an Err result.
An Err result value
Never
Retrieve the error from an Ok result.
This override is required for type safety for Ok results.
The error value of E result
Retrieve the underlying error from an
Errresult.Template: E
The error type of the
Errresult.Param: result
Result to unwrap the error from
Returns
The underlying error of the
Errresult