pub enum CpuStatus {
Unknown,
Enabled,
UserDisabled,
BiosDisabled,
Idle,
Other,
None,
}
Expand description
CPU Status
Variants§
Unknown
0h – Unknown
Enabled
1h – CPU Enabled
UserDisabled
2h – CPU Disabled by User through BIOS Setup
BiosDisabled
3h – CPU Disabled By BIOS (POST Error)
Idle
4h – CPU is Idle, waiting to be enabled.
Other
7h – Other
None
A value unknown to this standard, check the raw value
Trait Implementations§
impl Eq for CpuStatus
impl StructuralPartialEq for CpuStatus
Auto Trait Implementations§
impl Freeze for CpuStatus
impl RefUnwindSafe for CpuStatus
impl Send for CpuStatus
impl Sync for CpuStatus
impl Unpin for CpuStatus
impl UnwindSafe for CpuStatus
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