Struct crash_context::CrashContext
source · [−]pub struct CrashContext {
pub exception_pointers: *const c_void,
pub exception_code: i32,
pub process_id: u32,
pub thread_id: u32,
}Expand description
Full Windows crash context
Fields
exception_pointers: *const c_voidThe information on the exception.
Note that this is a pointer into the actual memory of the crashed process, and is a pointer to an EXCEPTION_POINTERS
We intentionally don’t use windows-sys here as the type information is
completely lost when crossing process boundaries anyways
exception_code: i32The top level exception code from the exception_pointers. This is provided
so that external processes don’t need to use ReadProcessMemory to inspect
the exception code
process_id: u32The pid of the process that crashed
thread_id: u32The thread id on which the exception occurred
Auto Trait Implementations
impl RefUnwindSafe for CrashContext
impl !Send for CrashContext
impl !Sync for CrashContext
impl Unpin for CrashContext
impl UnwindSafe for CrashContext
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