Skip to main content

tuwunel_core/utils/
result.rs

1mod and_then_ref;
2mod debug_inspect;
3mod filter;
4mod flat_ok;
5mod inspect_log;
6mod into_is_ok;
7mod is_err_or;
8mod log_debug_err;
9mod log_err;
10mod map_expect;
11mod map_ref;
12mod not_found;
13mod unwrap_infallible;
14mod unwrap_or_err;
15
16pub use self::{
17	and_then_ref::AndThenRef,
18	debug_inspect::DebugInspect,
19	filter::Filter,
20	flat_ok::FlatOk,
21	inspect_log::{ErrDebugLog, ErrLog},
22	into_is_ok::IntoIsOk,
23	is_err_or::IsErrOr,
24	log_debug_err::LogDebugErr,
25	log_err::LogErr,
26	map_expect::MapExpect,
27	map_ref::MapRef,
28	not_found::NotFound,
29	unwrap_infallible::UnwrapInfallible,
30	unwrap_or_err::UnwrapOrErr,
31};
32
33pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;