pub struct Snapshot {
pub schema_version: u32,
pub taken_at: SystemTime,
pub host: HostStats,
pub agents: Vec<Agent>,
pub orphans: Vec<ProcNode>,
pub totals: Totals,
}Expand description
Everything the UI needs for one frame.
Fields§
§schema_version: u32§taken_at: SystemTime§host: HostStats§agents: Vec<Agent>§orphans: Vec<ProcNode>MCP-looking processes with no live agent ancestor: leak candidates.
totals: TotalsImplementations§
Source§impl Snapshot
impl Snapshot
pub fn compute_totals(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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