A type which wraps a value and a potential error.
Gets the value stored within the Result.
Gets the value stored within the Result if non-error, otherwise returns the given value.
The error stored within the Result.
Whether the result is successful.
Creates an error value.
Creates an "ok" value.
See Implementation
A type which wraps a value and a potential error.