Struct raw_cpuid::ProcessorSerial
source · pub struct ProcessorSerial { /* private fields */ }
Expand description
Implementations§
source§impl ProcessorSerial
impl ProcessorSerial
sourcepub fn serial_lower(&self) -> u32
pub fn serial_lower(&self) -> u32
Bits 00-31 of 96 bit processor serial number.
(Available in Pentium III processor only; otherwise, the value in this register is reserved.)
sourcepub fn serial_middle(&self) -> u32
pub fn serial_middle(&self) -> u32
Bits 32-63 of 96 bit processor serial number.
(Available in Pentium III processor only; otherwise, the value in this register is reserved.)
sourcepub fn serial_upper(&self) -> u32
pub fn serial_upper(&self) -> u32
Bits 64-96 of 96 bit processor serial number.
sourcepub fn serial(&self) -> u64
pub fn serial(&self) -> u64
Combination of bits 00-31 and 32-63 of 96 bit processor serial number.
sourcepub fn serial_all(&self) -> u128
pub fn serial_all(&self) -> u128
96 bit processor serial number.
Trait Implementations§
source§impl Debug for ProcessorSerial
impl Debug for ProcessorSerial
source§impl PartialEq for ProcessorSerial
impl PartialEq for ProcessorSerial
impl Eq for ProcessorSerial
impl StructuralPartialEq for ProcessorSerial
Auto Trait Implementations§
impl Freeze for ProcessorSerial
impl RefUnwindSafe for ProcessorSerial
impl Send for ProcessorSerial
impl Sync for ProcessorSerial
impl Unpin for ProcessorSerial
impl UnwindSafe for ProcessorSerial
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