Skip to main content

Module result

Module result 

Source

Modulesยง

and_then_ref ๐Ÿ”’
debug_inspect ๐Ÿ”’
filter ๐Ÿ”’
flat_ok ๐Ÿ”’
inspect_log ๐Ÿ”’
into_is_ok ๐Ÿ”’
is_err_or ๐Ÿ”’
log_debug_err ๐Ÿ”’
log_err ๐Ÿ”’
map_expect ๐Ÿ”’
map_ref ๐Ÿ”’
not_found ๐Ÿ”’
unwrap_infallible ๐Ÿ”’
unwrap_or_err ๐Ÿ”’

Traitsยง

AndThenRef
DebugInspect
Inspect Result values with release-mode elision.
ErrDebugLog
ErrLog
Filter
FlatOk
IntoIsOk
IsErrOr
LogDebugErr
LogErr
MapExpect
MapRef
NotFound
UnwrapInfallible
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.

Type Aliasesยง

Result