Result
Methods for the result type.
| Name | Summary |
|---|---|
| catch | Catches any errors in the result and returns the result of the handler function. |
| unwrap | Returns the value inside the result, or panics if the result is an error. |
| unwrapOr | Returns the value inside the result, or the default value if the result is an error. |
fn result.unwrap() -> T
Returns the value inside the result, or panics if the result is an error.
Returns
T