Skip to main content
Module unwrap_or_err
tuwunel_
core
1.6.2
Module unwrap_
or_
err
Module Items
Traits
In tuwunel_
core::
utils::
result
tuwunel_core
::
utils
::
result
Module
unwrap_
or_
err
Copy item path
Source
Traits
§
Unwrap
OrErr
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.