Skip to main content

Module unwrap_or_err

Module unwrap_or_err 

Source

Traits§

UnwrapOrErr
Returns the Ok value or the Err value. Available when the Ok and Err types are the same. This is a way to default the result using the specific Err value rather than unwrap_or_default() using Ok’s default.