pub struct FmtErrorCompact<'e, E>(pub &'e E)
where
E: ?Sized;Expand description
A wrapper with fmt::Display for any E : Error, unsized ones such as
dyn Error included, that prints the error and its chain of causes,
joined with ": ".
Tuple Fields§
§0: &'e ETrait Implementations§
Auto Trait Implementations§
impl<'e, E> Freeze for FmtErrorCompact<'e, E>where
E: ?Sized,
impl<'e, E> RefUnwindSafe for FmtErrorCompact<'e, E>where
E: RefUnwindSafe + ?Sized,
impl<'e, E> Send for FmtErrorCompact<'e, E>
impl<'e, E> Sync for FmtErrorCompact<'e, E>
impl<'e, E> Unpin for FmtErrorCompact<'e, E>where
E: ?Sized,
impl<'e, E> UnwindSafe for FmtErrorCompact<'e, E>where
E: RefUnwindSafe + ?Sized,
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