//! Data types for the process tree.
/// Cached process info for a single PID.
#[derive(Clone, Debug)]pubstructProcInfo{/// Command name (from `/proc/{pid}/comm`).
pubcmd: String,
/// Username (from UID lookup via `/etc/passwd`).
pubuser: String,
/// Parent PID.
pubppid:u32,
/// Thread group ID.
pubtgid:u32,
/// Process start time in nanoseconds since boot.
/// Used for PID reuse detection.
pubstart_time_ns:u64,
}/// A node in the process tree.
#[derive(Clone, Debug)]pubstructPidNode{pubppid:u32,
pubcmd: String,
}