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