pub struct ProcessSample {
pub processes: Vec<Map<String, Value>>,
pub system_cpu: Option<CpuSample>,
}Expand description
Per-process stats from a sysmontap snapshot.
Fields§
§processes: Vec<Map<String, Value>>Process attribute values keyed by attribute name.
system_cpu: Option<CpuSample>System CPU usage (if present in this sample).
Trait Implementations§
Source§impl Clone for ProcessSample
impl Clone for ProcessSample
Source§fn clone(&self) -> ProcessSample
fn clone(&self) -> ProcessSample
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 moreAuto Trait Implementations§
impl Freeze for ProcessSample
impl RefUnwindSafe for ProcessSample
impl Send for ProcessSample
impl Sync for ProcessSample
impl Unpin for ProcessSample
impl UnsafeUnpin for ProcessSample
impl UnwindSafe for ProcessSample
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