#[repr(C)]pub struct ProcessorInformation {
pub processor_id: u64,
pub location: CpuPhysicalLocation,
/* private fields */
}
Expand description
Information about processor on the platform.
Fields§
§processor_id: u64
Unique processor ID determined by system hardware.
location: CpuPhysicalLocation
Physical location of the processor.
Implementations§
source§impl ProcessorInformation
impl ProcessorInformation
sourcepub const fn is_enabled(&self) -> bool
pub const fn is_enabled(&self) -> bool
Returns true
if the processor is enabled.
sourcepub const fn is_healthy(&self) -> bool
pub const fn is_healthy(&self) -> bool
Returns true
if the processor is healthy.
Trait Implementations§
source§impl Debug for ProcessorInformation
impl Debug for ProcessorInformation
source§impl Default for ProcessorInformation
impl Default for ProcessorInformation
source§fn default() -> ProcessorInformation
fn default() -> ProcessorInformation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessorInformation
impl RefUnwindSafe for ProcessorInformation
impl Send for ProcessorInformation
impl Sync for ProcessorInformation
impl Unpin for ProcessorInformation
impl UnwindSafe for ProcessorInformation
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