Enum smbioslib::ThreadCount
source · [−]pub enum ThreadCount {
Unknown,
Count(u8),
SeeThreadCount2,
}
Expand description
Processor Thread Count
Variants
Unknown
The value is unknown
Count(u8)
Number of threads per processor socket
SeeThreadCount2
For thread counts of 256 or greater the ‘thread_count_2’ field is set to the number of cores.
Trait Implementations
sourceimpl Debug for ThreadCount
impl Debug for ThreadCount
sourceimpl From<u8> for ThreadCount
impl From<u8> for ThreadCount
sourceimpl Serialize for ThreadCount
impl Serialize for ThreadCount
Auto Trait Implementations
impl RefUnwindSafe for ThreadCount
impl Send for ThreadCount
impl Sync for ThreadCount
impl Unpin for ThreadCount
impl UnwindSafe for ThreadCount
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