Struct minidump_writer::minidump_format::format::CPU_INFORMATION
source · pub struct CPU_INFORMATION {
pub data: [u8; 24],
}
Expand description
CPU information contained within the MINIDUMP_SYSTEM_INFO
struct
This struct matches the definition of the CPU_INFORMATION
union from minidumpapiset.h.
Fields§
§data: [u8; 24]
data
is defined as a union in the Microsoft headers
It is the union of X86CpuInfo
, ARMCpuInfo
(Breakpad-specific), and
OtherCpuInfo
defined below. It does not seem possible to safely derive Pread
on an actual union, so we provide the raw data here and expect callers to use
Pread
to derive the specific union representation desired.
Trait Implementations§
source§impl Clone for CPU_INFORMATION
impl Clone for CPU_INFORMATION
source§fn clone(&self) -> CPU_INFORMATION
fn clone(&self) -> CPU_INFORMATION
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 CPU_INFORMATION
impl Debug for CPU_INFORMATION
source§impl<'a> TryFromCtx<'a, Endian> for CPU_INFORMATIONwhere
CPU_INFORMATION: 'a,
impl<'a> TryFromCtx<'a, Endian> for CPU_INFORMATIONwhere
CPU_INFORMATION: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian, ) -> Result<(CPU_INFORMATION, usize), <CPU_INFORMATION as TryFromCtx<'a, Endian>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a CPU_INFORMATION
impl<'a> TryIntoCtx<Endian> for &'a CPU_INFORMATION
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <&'a CPU_INFORMATION as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for CPU_INFORMATION
impl TryIntoCtx<Endian> for CPU_INFORMATION
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <CPU_INFORMATION as TryIntoCtx<Endian>>::Error>
Auto Trait Implementations§
impl Freeze for CPU_INFORMATION
impl RefUnwindSafe for CPU_INFORMATION
impl Send for CPU_INFORMATION
impl Sync for CPU_INFORMATION
impl Unpin for CPU_INFORMATION
impl UnwindSafe for CPU_INFORMATION
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)