pub struct ExceptionEvent {
pub message: String,
pub source: ExceptionSource,
pub thread_name: String,
}Expand description
An exception event delivered to an ExceptionListener.
Fields§
§message: StringHuman-readable error message.
source: ExceptionSourceThe background subsystem or thread that encountered the exception.
thread_name: StringName of the OS thread (for logging / diagnostics).
Implementations§
Trait Implementations§
Source§impl Clone for ExceptionEvent
impl Clone for ExceptionEvent
Source§fn clone(&self) -> ExceptionEvent
fn clone(&self) -> ExceptionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExceptionEvent
impl RefUnwindSafe for ExceptionEvent
impl Send for ExceptionEvent
impl Sync for ExceptionEvent
impl Unpin for ExceptionEvent
impl UnsafeUnpin for ExceptionEvent
impl UnwindSafe for ExceptionEvent
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