Module konst::result[][src]

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 Err variant, otherwise runs a closure/function with the value in the Ok variant.

A const equivalent of Result::unwrap_or

A const equivalent of Result::unwrap_or_else