The good value, if available.
Returns an option of the inner error of a result.
Unwraps a result, yielding the value.
USE THIS SPARINGLY! It is generally better to use unwrapOr or map to
handle situations you may be temped to .expect() in.
This is good for using in tests.
Asserts that the current result is Err.
Asserts that the current result is Err and the error passes the given predicate.
Returns a string representation of the result for debugging purposes.
Returns the inner value of a result, if it is Ok. Otherwise, the contained error will be thrown.
USE THIS SPARINGLY! It is generally better to use unwrapOr or map to
handle situations you may be temped to .unwrap() in.
The error, if available.