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_void

The 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: i32

The 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: u32

The pid of the process that crashed

thread_id: u32

The thread id on which the exception occurred

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.