pub struct MINIDUMP_CRASHPAD_INFO {
    pub version: u32,
    pub report_id: GUID,
    pub client_id: GUID,
    pub simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR,
    pub module_list: MINIDUMP_LOCATION_DESCRIPTOR,
}
Expand description

Additional Crashpad-specific information carried within a minidump file.

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_1MinidumpCrashpadInfo.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.

§report_id: GUID

A Uuid identifying an individual crash report.

This provides a stable identifier for a crash even as the report is converted to different formats, provided that all formats support storing a crash report ID.

If no identifier is available, this field will contain zeroes.

§client_id: GUID

A Uuid identifying the client that crashed.

Client identification is within the scope of the application, but it is expected that the identifier will be unique for an instance of Crashpad monitoring an application or set of applications for a user. The identifier shall remain stable over time.

If no identifier is available, this field will contain zeroes.

§simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR

A MinidumpSimpleStringDictionary pointing to strings interpreted as key-value pairs.

These key-value pairs correspond to Crashpad’s ProcessSnapshot::AnnotationsSimpleMap().

§module_list: MINIDUMP_LOCATION_DESCRIPTOR

A pointer to a MinidumpModuleCrashpadInfoList structure.

Implementations§

source§

impl MINIDUMP_CRASHPAD_INFO

source

pub const VERSION: u32 = 1u32

The structure’s currently-defined version number.

Trait Implementations§

source§

impl Clone for MINIDUMP_CRASHPAD_INFO

source§

fn clone(&self) -> MINIDUMP_CRASHPAD_INFO

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MINIDUMP_CRASHPAD_INFO

source§

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

Formats the value using the given formatter. Read more
source§

impl SizeWith<Endian> for MINIDUMP_CRASHPAD_INFO

source§

impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_CRASHPAD_INFOwhere MINIDUMP_CRASHPAD_INFO: 'a,

source§

impl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_CRASHPAD_INFO

§

type Error = Error

source§

fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <&'a MINIDUMP_CRASHPAD_INFO as TryIntoCtx<Endian, [u8]>>::Error>

source§

impl TryIntoCtx<Endian, [u8]> for MINIDUMP_CRASHPAD_INFO

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more