Rustic.Result (Rustic.Result v0.1.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
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 Err result as an exception
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
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 Err result as an exception