Struct http_problem::reporter::Report
source · [−]pub struct Report { /* private fields */ }
Expand description
Location dependent problem report content.
This type contains information about a given error, primarily the backtrace, location and timestamp of the error, although reporters may include extra information.
Note that the Backtrace
is NOT resolved during creation, to prevent
wasting time on the creation of non-reported errors.
Implementations
sourceimpl Report
impl Report
sourcepub fn backtrace(&self) -> impl Deref<Target = Backtrace> + '_
pub fn backtrace(&self) -> impl Deref<Target = Backtrace> + '_
Resolves and returns a reference to the error backtrace.
sourcepub fn backtrace_unresolved(&self) -> impl Deref<Target = Backtrace> + '_
pub fn backtrace_unresolved(&self) -> impl Deref<Target = Backtrace> + '_
Returns a reference to the unresolved backtrace.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more