pub struct MINIDUMP_ANNOTATION {
pub name: u32,
pub ty: u16,
pub _reserved: u16,
pub value: u32,
}
Expand description
A typed annotation object.
See https://crashpad.chromium.org/doxygen/structcrashpad_1_1MinidumpAnnotation.html
Fields§
§name: u32
RVA of a MinidumpUTF8String containing the name of the annotation.
ty: u16
The type of data stored in the value
of the annotation. This may correspond to an \a
MINIDUMP_ANNOTATION_TYPE
or it may be user-defined.
_reserved: u16
This field is always 0
.
value: u32
RVA of a MinidumpByteArray
to the data for the annotation.
Implementations§
source§impl MINIDUMP_ANNOTATION
impl MINIDUMP_ANNOTATION
sourcepub const TYPE_INVALID: u16 = 0u16
pub const TYPE_INVALID: u16 = 0u16
An invalid annotation. Reserved for internal use.
sourcepub const TYPE_STRING: u16 = 1u16
pub const TYPE_STRING: u16 = 1u16
A NUL
-terminated C-string.
sourcepub const TYPE_USER_DEFINED: u16 = 32_768u16
pub const TYPE_USER_DEFINED: u16 = 32_768u16
Clients may declare their own custom types by using values greater than this.
Trait Implementations§
source§impl Clone for MINIDUMP_ANNOTATION
impl Clone for MINIDUMP_ANNOTATION
source§fn clone(&self) -> MINIDUMP_ANNOTATION
fn clone(&self) -> MINIDUMP_ANNOTATION
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MINIDUMP_ANNOTATION
impl Debug for MINIDUMP_ANNOTATION
source§impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_ANNOTATIONwhere
MINIDUMP_ANNOTATION: 'a,
impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_ANNOTATIONwhere
MINIDUMP_ANNOTATION: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian ) -> Result<(MINIDUMP_ANNOTATION, usize), <MINIDUMP_ANNOTATION as TryFromCtx<'a, Endian>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_ANNOTATION
impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_ANNOTATION
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <&'a MINIDUMP_ANNOTATION as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for MINIDUMP_ANNOTATION
impl TryIntoCtx<Endian> for MINIDUMP_ANNOTATION
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <MINIDUMP_ANNOTATION as TryIntoCtx<Endian>>::Error>
Auto Trait Implementations§
impl Freeze for MINIDUMP_ANNOTATION
impl RefUnwindSafe for MINIDUMP_ANNOTATION
impl Send for MINIDUMP_ANNOTATION
impl Sync for MINIDUMP_ANNOTATION
impl Unpin for MINIDUMP_ANNOTATION
impl UnwindSafe for MINIDUMP_ANNOTATION
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more