pub struct SystemLoad {
pub cpu_usage: f64,
pub memory_usage: f64,
pub active_connections: usize,
pub queue_depth: usize,
}Expand description
System load metrics
Fields§
§cpu_usage: f64§memory_usage: f64§active_connections: usize§queue_depth: usizeTrait Implementations§
Source§impl Clone for SystemLoad
impl Clone for SystemLoad
Source§fn clone(&self) -> SystemLoad
fn clone(&self) -> SystemLoad
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SystemLoad
impl RefUnwindSafe for SystemLoad
impl Send for SystemLoad
impl Sync for SystemLoad
impl Unpin for SystemLoad
impl UnsafeUnpin for SystemLoad
impl UnwindSafe for SystemLoad
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