The good value, if available.
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.
Unwraps a result, yielding the error.
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 Ok.
Asserts that the current result is Ok and the value passes the given predicate.
Returns an option of the inner value of a result.
Returns a string representation of the result for debugging purposes.
The error, if available.