Struct minidump::format::MINIDUMP_MODULE_CRASHPAD_INFO[][src]

pub struct MINIDUMP_MODULE_CRASHPAD_INFO {
    pub version: u32,
    pub list_annotations: MINIDUMP_LOCATION_DESCRIPTOR,
    pub simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR,
    pub annotation_objects: MINIDUMP_LOCATION_DESCRIPTOR,
}
Expand description

Additional Crashpad-specific information about a module carried within a minidump file.

This structure augments the information provided by MINIDUMP_MODULE. The minidump file must contain a module list stream (::kMinidumpStreamTypeModuleList) in order for this structure to appear.

This structure is versioned. When changing this structure, leave the existing structure intact so that earlier parsers will be able to understand the fields they are aware of, and make additions at the end of the structure. Revise #kVersion and document each field’s validity based on #version, so that newer parsers will be able to determine whether the added fields are valid or not.

See https://crashpad.chromium.org/doxygen/structcrashpad_1_1MinidumpModuleCrashpadInfo.html

Fields

version: u32

The structure’s version number.

Readers can use this field to determine which other fields in the structure are valid. Upon encountering a value greater than VERSION, a reader should assume that the structure’s layout is compatible with the structure defined as having value #kVersion.

Writers may produce values less than VERSION in this field if there is no need for any fields present in later versions.

list_annotations: MINIDUMP_LOCATION_DESCRIPTOR

A MinidumpRVAList pointing to MinidumpUTF8String objects. The module controls the data that appears here.

These strings correspond to ModuleSnapshot::AnnotationsVector() and do not duplicate anything in simple_annotations or annotation_objects.

simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR

A MinidumpSimpleStringDictionary pointing to strings interpreted as key-value pairs. The module controls the data that appears here.

These key-value pairs correspond to ModuleSnapshot::AnnotationsSimpleMap() and do not duplicate anything in list_annotations or annotation_objects.

annotation_objects: MINIDUMP_LOCATION_DESCRIPTOR

A MinidumpAnnotationList object containing the annotation objects stored within the module. The module controls the data that appears here.

These key-value pairs correspond to ModuleSnapshot::AnnotationObjects() and do not duplicate anything in list_annotations or simple_annotations.

Implementations

impl MINIDUMP_MODULE_CRASHPAD_INFO[src]

pub const VERSION: u32[src]

The structure’s version number.

Readers can use this field to determine which other fields in the structure are valid. Upon encountering a value greater than VERSION, a reader should assume that the structure’s layout is compatible with the structure defined as having value #kVersion.

Writers may produce values less than VERSION in this field if there is no need for any fields present in later versions.

Trait Implementations

impl Clone for MINIDUMP_MODULE_CRASHPAD_INFO[src]

pub fn clone(&self) -> MINIDUMP_MODULE_CRASHPAD_INFO[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for MINIDUMP_MODULE_CRASHPAD_INFO[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MODULE_CRASHPAD_INFO where
    MINIDUMP_MODULE_CRASHPAD_INFO: 'a, 
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.