Expand description
const
equivalents of Result
methods.
Macrosยง
- and_
then - A const equivalent of
Result::and_then
- err
- A const equivalent of
Result::err
- map
- A const equivalent of
Result::map
- map_err
- A const equivalent of
Result::map_err
- ok
- A const equivalent of
Result::ok
- or_else
- A const equivalent of
Result::or_else
- unwrap_
ctx - For unwrapping
Result
s in const contexts with some error message. - unwrap_
err_ or_ else - Returns the error in the
Err
variant, otherwise runs a closure/function with the value in theOk
variant. - unwrap_
or - A const equivalent of
Result::unwrap_or
- unwrap_
or_ else - A const equivalent of
Result::unwrap_or_else