pub struct NrCpus {
pub online: u32,
pub available: u32,
}Fields§
§online: u32How many CPUs are online
available: u32CPUs not yet online
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NrCpus
impl RefUnwindSafe for NrCpus
impl Send for NrCpus
impl Sync for NrCpus
impl Unpin for NrCpus
impl UnwindSafe for NrCpus
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