pub struct ErrorReport(/* private fields */);Available on crate feature
terminal only.Expand description
Wraps an anyhow::Error to render it, with its source chain and
backtrace, as text or JSON.
Implementations§
Trait Implementations§
Source§impl Display for ErrorReport
impl Display for ErrorReport
Source§impl From<Error> for ErrorReport
impl From<Error> for ErrorReport
Auto Trait Implementations§
impl Freeze for ErrorReport
impl RefUnwindSafe for ErrorReport
impl Send for ErrorReport
impl Sync for ErrorReport
impl Unpin for ErrorReport
impl UnsafeUnpin for ErrorReport
impl UnwindSafe for ErrorReport
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