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§
Source§impl Debug for ThreadCount
impl Debug for ThreadCount
Source§impl From<u8> for ThreadCount
impl From<u8> for ThreadCount
Auto Trait Implementations§
impl Freeze for ThreadCount
impl RefUnwindSafe for ThreadCount
impl Send for ThreadCount
impl Sync for ThreadCount
impl Unpin for ThreadCount
impl UnwindSafe for ThreadCount
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