pub struct OrphanOrigin {
pub pid: u32,
pub first_seen: SystemTime,
pub orphaned_at: Option<SystemTime>,
pub parent: Option<OrphanParent>,
}Expand description
What the collector remembers about an orphaned MCP process: when it first saw it, and, if it watched the process lose its parent, which agent that was. Memory lasts for the run; a process that was already an orphan when agent-top started has no parent on record.
Fields§
§pid: u32§first_seen: SystemTime§orphaned_at: Option<SystemTime>When the process was first seen without its parent, if the parent was seen before that.
parent: Option<OrphanParent>Trait Implementations§
Source§impl Clone for OrphanOrigin
impl Clone for OrphanOrigin
Source§fn clone(&self) -> OrphanOrigin
fn clone(&self) -> OrphanOrigin
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 moreSource§impl Debug for OrphanOrigin
impl Debug for OrphanOrigin
Source§impl<'de> Deserialize<'de> for OrphanOrigin
impl<'de> Deserialize<'de> for OrphanOrigin
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
Source§impl PartialEq for OrphanOrigin
impl PartialEq for OrphanOrigin
Source§impl Serialize for OrphanOrigin
impl Serialize for OrphanOrigin
impl StructuralPartialEq for OrphanOrigin
Auto Trait Implementations§
impl Freeze for OrphanOrigin
impl RefUnwindSafe for OrphanOrigin
impl Send for OrphanOrigin
impl Sync for OrphanOrigin
impl Unpin for OrphanOrigin
impl UnsafeUnpin for OrphanOrigin
impl UnwindSafe for OrphanOrigin
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