pub struct AgentStatus {
pub running: bool,
pub pid: Option<u32>,
pub socket_path: Option<String>,
pub socket_exists: bool,
pub uptime_secs: Option<u64>,
}Expand description
Status information about the agent
Fields§
§running: bool§pid: Option<u32>§socket_path: Option<String>§socket_exists: bool§uptime_secs: Option<u64>Trait Implementations§
Source§impl Debug for AgentStatus
impl Debug for AgentStatus
Auto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnsafeUnpin for AgentStatus
impl UnwindSafe for AgentStatus
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