1//! Define a custom Result type. 2 3#[cfg(not(feature = "std"))] 4use alloc::boxed::Box; 5 6/// A Result using [`core::error::Error`] as error type. 7pub type Result<T> = core::result::Result<T, Box<dyn core::error::Error + Send + Sync>>;