#[repr(C, packed(1))]
pub struct WHEA_ERROR_PACKET_V1 {
Show 17 fields pub Signature: u32, pub Flags: WHEA_ERROR_PACKET_FLAGS, pub Size: u32, pub RawDataLength: u32, pub Reserved1: u64, pub Context: u64, pub ErrorType: WHEA_ERROR_TYPE, pub ErrorSeverity: WHEA_ERROR_SEVERITY, pub ErrorSourceId: u32, pub ErrorSourceType: WHEA_ERROR_SOURCE_TYPE, pub Reserved2: u32, pub Version: u32, pub Cpu: u64, pub u: WHEA_ERROR_PACKET_V1_0, pub RawDataFormat: WHEA_RAW_DATA_FORMAT, pub RawDataOffset: u32, pub RawData: [u8; 1],
}
Expand description

Required features: "Win32_System_Diagnostics_Debug"

Fields§

§Signature: u32§Flags: WHEA_ERROR_PACKET_FLAGS§Size: u32§RawDataLength: u32§Reserved1: u64§Context: u64§ErrorType: WHEA_ERROR_TYPE§ErrorSeverity: WHEA_ERROR_SEVERITY§ErrorSourceId: u32§ErrorSourceType: WHEA_ERROR_SOURCE_TYPE§Reserved2: u32§Version: u32§Cpu: u64§u: WHEA_ERROR_PACKET_V1_0§RawDataFormat: WHEA_RAW_DATA_FORMAT§RawDataOffset: u32§RawData: [u8; 1]

Trait Implementations§

§

impl Clone for WHEA_ERROR_PACKET_V1

§

fn clone(&self) -> Self

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
§

impl Copy for WHEA_ERROR_PACKET_V1

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