Expand description
const equivalents of Result methods.
Macrosยง
- A const equivalent of
Result::and_then - A const equivalent of
Result::err - A const equivalent of
Result::map - A const equivalent of
Result::map_err - A const equivalent of
Result::ok - A const equivalent of
Result::or_else - For unwrapping
Results in const contexts with some error message. - Returns the error in the
Errvariant, otherwise runs a closure/function with the value in theOkvariant. - A const equivalent of
Result::unwrap_or - A const equivalent of
Result::unwrap_or_else