Enum smbioslib::CoresEnabled
source · [−]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
sourceimpl Debug for CoresEnabled
impl Debug for CoresEnabled
sourceimpl From<u8> for CoresEnabled
impl From<u8> for CoresEnabled
sourceimpl Serialize for CoresEnabled
impl Serialize for CoresEnabled
Auto Trait Implementations
impl RefUnwindSafe for CoresEnabled
impl Send for CoresEnabled
impl Sync for CoresEnabled
impl Unpin for CoresEnabled
impl UnwindSafe for CoresEnabled
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