#[non_exhaustive]pub struct QueuedReport {
pub id: ReportId,
pub exception_class: String,
pub message: String,
pub handled: bool,
}Expand description
The parts of a queued error report that the report listener gets. See
set_report_listener.
The listener does not get the Report itself, because the report moves
into the queue.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ReportIdThe tracking id of the report.
exception_class: StringThe exception class, like std::io::error::Error.
message: StringThe message of the error.
handled: booltrue when your code handled the error, and false for a panic.
Trait Implementations§
Source§impl Clone for QueuedReport
impl Clone for QueuedReport
Auto Trait Implementations§
impl Forget for QueuedReport
impl Freeze for QueuedReport
impl Move for QueuedReport
impl RefUnwindSafe for QueuedReport
impl Send for QueuedReportwhere
RawVecInner: Send,
impl Sync for QueuedReportwhere
RawVecInner: Sync,
impl Unpin for QueuedReport
impl UnsafeUnpin for QueuedReport
impl UnwindSafe for QueuedReportwhere
RawVecInner: UnwindSafe,
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