pub struct StackedError(pub Error);Expand description
Wraps around stacked_errors::Error to implement core::error::Error, since stacked_errors::Error itself cannot implement the trait.
Tuple Fields§
§0: ErrorTrait Implementations§
Source§impl Debug for StackedError
impl Debug for StackedError
Source§impl Display for StackedError
impl Display for StackedError
Source§impl Error for StackedError
impl Error for StackedError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StackedError
impl !RefUnwindSafe for StackedError
impl Send for StackedError
impl Sync for StackedError
impl Unpin for StackedError
impl !UnwindSafe for StackedError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more