Struct minidump_writer::minidump_format::format::MINIDUMP_EXCEPTION
source · [−]pub struct MINIDUMP_EXCEPTION {
pub exception_code: u32,
pub exception_flags: u32,
pub exception_record: u64,
pub exception_address: u64,
pub number_parameters: u32,
pub __align: u32,
pub exception_information: [u64; 15],
}
Expand description
Detailed information about an exception.
This struct matches the Microsoft struct of the same name.
Fields
exception_code: u32
The reason the exception occurred.
Possible values are in the following enums:
exception_flags: u32
Flags related to the exception.
On Windows this is 1 for noncontinuable exceptions and 0 otherwise. For Breakpad-produced minidumps on macOS this field is used to store additional exception information.
exception_record: u64
The address of an associated MINIDUMP_EXCEPTION
for a nested exception.
This address is in the minidump producing host’s memory.
exception_address: u64
The address where the exception occurred.
For Breakpad-produced minidumps on macOS this is the exception subcode, which is typically the address.
number_parameters: u32
The number of valid elements in MINIDUMP_EXCEPTION::exception_information
.
__align: u32
exception_information: [u64; 15]
An array of additional arguments that describe the exception.
For most exception codes the array elements are undefined, but for access violations the array will contain two elements: a read/write flag in the first element and the virtual address whose access caused the exception in the second element.
Trait Implementations
sourceimpl Clone for MINIDUMP_EXCEPTION
impl Clone for MINIDUMP_EXCEPTION
sourcefn clone(&self) -> MINIDUMP_EXCEPTION
fn clone(&self) -> MINIDUMP_EXCEPTION
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MINIDUMP_EXCEPTION
impl Debug for MINIDUMP_EXCEPTION
sourceimpl Default for MINIDUMP_EXCEPTION
impl Default for MINIDUMP_EXCEPTION
sourcefn default() -> MINIDUMP_EXCEPTION
fn default() -> MINIDUMP_EXCEPTION
Returns the “default value” for a type. Read more
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_EXCEPTION where
MINIDUMP_EXCEPTION: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_EXCEPTION where
MINIDUMP_EXCEPTION: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(MINIDUMP_EXCEPTION, usize), <MINIDUMP_EXCEPTION as TryFromCtx<'a, Endian, [u8]>>::Error>
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_EXCEPTION
impl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_EXCEPTION
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <&'a MINIDUMP_EXCEPTION as TryIntoCtx<Endian, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for MINIDUMP_EXCEPTION
impl TryIntoCtx<Endian, [u8]> for MINIDUMP_EXCEPTION
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <MINIDUMP_EXCEPTION as TryIntoCtx<Endian, [u8]>>::Error>
Auto Trait Implementations
impl RefUnwindSafe for MINIDUMP_EXCEPTION
impl Send for MINIDUMP_EXCEPTION
impl Sync for MINIDUMP_EXCEPTION
impl Unpin for MINIDUMP_EXCEPTION
impl UnwindSafe for MINIDUMP_EXCEPTION
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