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