Expand description
Information about number of logical processors on the platform.
Fields
total: usize
Total number of processors (including BSP).
enabled: usize
Number of processors (including BSP) that are currently enabled.
Trait Implementations
sourceimpl Debug for ProcessorCount
impl Debug for ProcessorCount
sourceimpl Default for ProcessorCount
impl Default for ProcessorCount
sourcefn default() -> ProcessorCount
fn default() -> ProcessorCount
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProcessorCount
impl Send for ProcessorCount
impl Sync for ProcessorCount
impl Unpin for ProcessorCount
impl UnwindSafe for ProcessorCount
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