pub struct HostPoint {
pub t: u64,
pub cpu: Option<f32>,
pub mem_used: Option<u64>,
pub net_rx: Option<f64>,
pub net_tx: Option<f64>,
}Expand description
One host sample, kept HOST_POINTS deep for the monitor’s charts.
Fields§
§t: u64Unix seconds.
cpu: Option<f32>§mem_used: Option<u64>§net_rx: Option<f64>§net_tx: Option<f64>Trait Implementations§
impl Copy for HostPoint
impl StructuralPartialEq for HostPoint
Auto Trait Implementations§
impl Freeze for HostPoint
impl RefUnwindSafe for HostPoint
impl Send for HostPoint
impl Sync for HostPoint
impl Unpin for HostPoint
impl UnsafeUnpin for HostPoint
impl UnwindSafe for HostPoint
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