pub struct LoadSnapshot {
pub one: f32,
pub five: f32,
pub fifteen: f32,
}Expand description
Load averages, which are run-queue lengths rather than percentages.
Fields§
§one: f32One-minute average.
five: f32Five-minute average.
fifteen: f32Fifteen-minute average.
Implementations§
Source§impl LoadSnapshot
impl LoadSnapshot
Trait Implementations§
Source§impl Clone for LoadSnapshot
impl Clone for LoadSnapshot
Source§fn clone(&self) -> LoadSnapshot
fn clone(&self) -> LoadSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoadSnapshot
Source§impl Debug for LoadSnapshot
impl Debug for LoadSnapshot
Source§impl PartialEq for LoadSnapshot
impl PartialEq for LoadSnapshot
impl StructuralPartialEq for LoadSnapshot
Auto Trait Implementations§
impl Freeze for LoadSnapshot
impl RefUnwindSafe for LoadSnapshot
impl Send for LoadSnapshot
impl Sync for LoadSnapshot
impl Unpin for LoadSnapshot
impl UnsafeUnpin for LoadSnapshot
impl UnwindSafe for LoadSnapshot
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