pub enum ErrorDetail<'a> {
Stacked(&'a dyn StackError),
End(&'a dyn Error),
}
Expand description
One layer in a stack of chained errors.
Variants§
Stacked(&'a dyn StackError)
A stacked error
End(&'a dyn Error)
A core::error::Error. StackError will not backtraces any further
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ErrorDetail<'a>
impl<'a> Clone for ErrorDetail<'a>
Source§fn clone(&self) -> ErrorDetail<'a>
fn clone(&self) -> ErrorDetail<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ErrorDetail<'a>
impl<'a> Debug for ErrorDetail<'a>
Auto Trait Implementations§
impl<'a> Freeze for ErrorDetail<'a>
impl<'a> !RefUnwindSafe for ErrorDetail<'a>
impl<'a> !Send for ErrorDetail<'a>
impl<'a> !Sync for ErrorDetail<'a>
impl<'a> Unpin for ErrorDetail<'a>
impl<'a> !UnwindSafe for ErrorDetail<'a>
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