pub struct FmtErrorCompact<'e, E>(pub &'e E);
Expand description
A wrapper with fmt::Display
for any E : Error
that will print chain
of causes
Tuple Fields§
§0: &'e E
Trait Implementations§
Auto Trait Implementations§
impl<'e, E> Freeze for FmtErrorCompact<'e, E>
impl<'e, E> RefUnwindSafe for FmtErrorCompact<'e, E>where
E: RefUnwindSafe,
impl<'e, E> Send for FmtErrorCompact<'e, E>where
E: Sync,
impl<'e, E> Sync for FmtErrorCompact<'e, E>where
E: Sync,
impl<'e, E> Unpin for FmtErrorCompact<'e, E>
impl<'e, E> UnwindSafe for FmtErrorCompact<'e, E>where
E: RefUnwindSafe,
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