1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[derive(Debug, Clone, PartialEq, Eq)] pub struct Agent { pub name: String, pub pid: u32, pub argv: String, } #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Status { Working, Idle, Blocked, Unknown, }