add MapExpect to Result

add DebugInspect to Result

move Result typedef into unit

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-09-01 01:53:22 +00:00 committed by strawberry
parent 99ad404ea9
commit 2709995f84
5 changed files with 78 additions and 5 deletions

6
src/core/result.rs Normal file
View file

@ -0,0 +1,6 @@
mod debug_inspect;
mod map_expect;
pub use self::{debug_inspect::DebugInspect, map_expect::MapExpect};
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;