pub struct Report<'a> {
pub source: Box<dyn Error + 'a>,
pub style: ErrorStackStyle<'a>,
}
Expand description
A report of an error.
Fields§
§source: Box<dyn Error + 'a>
The source of the error.
style: ErrorStackStyle<'a>
The style of the error.
Implementations§
Trait Implementations§
Source§impl Error for Report<'static>
impl Error for Report<'static>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<'a> Freeze for Report<'a>
impl<'a> !RefUnwindSafe for Report<'a>
impl<'a> !Send for Report<'a>
impl<'a> !Sync for Report<'a>
impl<'a> Unpin for Report<'a>
impl<'a> !UnwindSafe for Report<'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