pub enum CoreCount {
Unknown,
Count(u8),
SeeCoreCount2,
}
Expand description
Processor Core Count
Variants§
Unknown
The value is unknown
Count(u8)
Number of cores per processor socket
SeeCoreCount2
For core counts of 256 or greater the ‘core_count_2’ field is set to the number of cores.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreCount
impl RefUnwindSafe for CoreCount
impl Send for CoreCount
impl Sync for CoreCount
impl Unpin for CoreCount
impl UnwindSafe for CoreCount
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