Skip to main content

Module result

Module result 

Source
Expand description

Result aliases and composable result extensions.

The module covers filtering, inspection, logging, flattening, and expectation helpers. Most adapters preserve the original result type.

Re-exportsยง

pub use self::and_then_ref::AndThenRef;
pub use self::debug_inspect::DebugInspect;
pub use self::expect_unchecked::ExpectUnchecked;
pub use self::filter::Filter;
pub use self::flat_ok::FlatOk;
pub use self::inspect_log::ErrDebugLog;
pub use self::inspect_log::ErrLog;
pub use self::into_is_ok::IntoIsOk;
pub use self::is_err_or::IsErrOr;
pub use self::log_debug_err::LogDebugErr;
pub use self::log_err::LogErr;
pub use self::map_expect::MapExpect;
pub use self::map_ref::MapRef;
pub use self::not_found::NotFound;
pub use self::unwrap_infallible::UnwrapInfallible;
pub use self::unwrap_or_err::UnwrapOrErr;

Modulesยง

and_then_ref ๐Ÿ”’
debug_inspect ๐Ÿ”’
expect_unchecked ๐Ÿ”’
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 ๐Ÿ”’

Type Aliasesยง

Result
Standard result type for core operations.