pub struct Load {
pub avg1_milli: u32,
pub cores: u32,
}Expand description
What was read from the host, in thousandths so it travels as atomics.
Fields§
§avg1_milli: u32The one-minute load average × 1000.
cores: u32Logical cores the process may run on.
Implementations§
Trait Implementations§
impl Copy for Load
impl Eq for Load
impl StructuralPartialEq for Load
Auto Trait Implementations§
impl Freeze for Load
impl RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl UnsafeUnpin for Load
impl UnwindSafe for Load
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