pub struct ErrStackDisplay<'a>(/* private fields */);Expand description
A display wrapper around an error that shows the error and its sources (with
Error::source) in a list, using → and two spaces of indent before each
item.
This includes a newline at the end.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ErrStackDisplay<'a>
impl<'a> !Send for ErrStackDisplay<'a>
impl<'a> !Sync for ErrStackDisplay<'a>
impl<'a> !UnwindSafe for ErrStackDisplay<'a>
impl<'a> Freeze for ErrStackDisplay<'a>
impl<'a> Unpin for ErrStackDisplay<'a>
impl<'a> UnsafeUnpin for ErrStackDisplay<'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