pub(crate) struct ErrorHandler;Trait Implementations§
Source§impl EyreHandler for ErrorHandler
impl EyreHandler for ErrorHandler
Source§fn debug(&self, error: &(dyn Error + 'static), f: &mut Formatter<'_>) -> Result
fn debug(&self, error: &(dyn Error + 'static), f: &mut Formatter<'_>) -> Result
Copied directly from eyre::DefaultHandler because we can’t construct
and hence delegate to it.
Source§fn display(
&self,
error: &(dyn Error + 'static),
f: &mut Formatter<'_>,
) -> Result
fn display( &self, error: &(dyn Error + 'static), f: &mut Formatter<'_>, ) -> Result
Override for the
Display formatSource§fn track_caller(&mut self, location: &'static Location<'static>)
fn track_caller(&mut self, location: &'static Location<'static>)
Store the location of the caller who constructed this error report
Auto Trait Implementations§
impl Freeze for ErrorHandler
impl RefUnwindSafe for ErrorHandler
impl Send for ErrorHandler
impl Sync for ErrorHandler
impl Unpin for ErrorHandler
impl UnwindSafe for ErrorHandler
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes