Struct minidump::format::CPU_INFORMATION
source · [−]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
sourceimpl Clone for CPU_INFORMATION
impl Clone for CPU_INFORMATION
sourcefn clone(&self) -> CPU_INFORMATION
fn clone(&self) -> CPU_INFORMATION
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CPU_INFORMATION
impl Debug for CPU_INFORMATION
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for CPU_INFORMATION where
CPU_INFORMATION: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for CPU_INFORMATION where
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, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for CPU_INFORMATION
impl TryIntoCtx<Endian, [u8]> for CPU_INFORMATION
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a CPU_INFORMATION
impl<'a> TryIntoCtx<Endian, [u8]> for &'a CPU_INFORMATION
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more