pub enum CoresEnabled {
Unknown,
Count(u8),
SeeCoresEnabled2,
}
Expand description
Processor Cores Enabled
Variants§
Unknown
The value is unknown
Count(u8)
Number of cores enabled
SeeCoresEnabled2
For core counts of 256 or greater the ‘cores_enabled_2’ field is set to the number of enabled cores.
Trait Implementations§
Source§impl Debug for CoresEnabled
impl Debug for CoresEnabled
Source§impl From<u8> for CoresEnabled
impl From<u8> for CoresEnabled
Auto Trait Implementations§
impl Freeze for CoresEnabled
impl RefUnwindSafe for CoresEnabled
impl Send for CoresEnabled
impl Sync for CoresEnabled
impl Unpin for CoresEnabled
impl UnwindSafe for CoresEnabled
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