Rustic.Result (Rustic.Result v0.2.0) View Source
Documentation for RusticResult
.
Link to this section Summary
Types
Describe an Err value
A function that maps a value to a result
Describe an Ok value
Describe a Result type
Functions
Apply a function which returns a result to an Ok result, or propagates the error.
Wraps a value into an Err result
Returns true if the Result is an Err value
Returns true if the Result is an Ok value
Wraps a value into an Ok result
Apply a function which returns a result to an Err result, or propagates the Ok value.
Unwrap an Ok result, or raise an exception
Unwrap an Err result, or raise an exception
Unwrap an Ok result, or return a default value
Link to this section Types
Link to this section Functions
Specs
Apply a function which returns a result to an Ok result, or propagates the error.
Specs
Wraps a value into an Err result
Specs
Returns true if the Result is an Err value
Specs
Returns true if the Result is an Ok value
Specs
Wraps a value into an Ok result
Specs
Apply a function which returns a result to an Err result, or propagates the Ok value.
Specs
Unwrap an Ok result, or raise an exception
Specs
Unwrap an Err result, or raise an exception
Specs
Unwrap an Ok result, or return a default value