as_result |
Wraps an expression in 'result' type, choosing between 'success' and 'failure' based on the outcome of the expression. |
bind |
Binds a result with another result or function to return a result |
failure |
Wraps a value in 'failure' type of 'result' |
is_failure |
Checks if an object is of 'failure' class |
is_result |
Checks if an object is of 'result' class |
is_success |
Checks if an object is of 'success' class |
result |
Wraps a function in an 'result' monad for later evaluation. |
status |
Extracts the status of a 'result' |
success |
Wraps a value in 'success' type of 'result' |
then_try |
Binds a result with another result or function to return a result |
value |
Extracts the value of a 'result' |