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 RefUnwindSafe for CoreCount
impl Send for CoreCount
impl Sync for CoreCount
impl Unpin for CoreCount
impl UnwindSafe for CoreCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more