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

View file

@ -1,10 +1,10 @@
use std::{any::Any, panic};
/// Export debug proc_macros
// Export debug proc_macros
pub use conduit_macros::recursion_depth;
/// Export all of the ancillary tools from here as well.
pub use crate::utils::debug::*;
// Export all of the ancillary tools from here as well.
pub use crate::{result::DebugInspect, utils::debug::*};
/// Log event at given level in debug-mode (when debug-assertions are enabled).
/// In release-mode it becomes DEBUG level, and possibly subject to elision.