pub struct AgentRoots {
pub srv_pid: u32,
pub cgroup: Option<PathBuf>,
pub roots: Vec<Root>,
}Expand description
What srv writes.
Fields§
§srv_pid: u32The srv that wrote it; kill_orphans acts only for this srv.
cgroup: Option<PathBuf>srv’s delegated cgroup scope (Linux), holding one agent-* cgroup
per agent.
roots: Vec<Root>Each running agent CLI.
Trait Implementations§
Source§impl Clone for AgentRoots
impl Clone for AgentRoots
Source§fn clone(&self) -> AgentRoots
fn clone(&self) -> AgentRoots
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 AgentRoots
impl Debug for AgentRoots
Source§impl Default for AgentRoots
impl Default for AgentRoots
Source§fn default() -> AgentRoots
fn default() -> AgentRoots
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentRoots
impl<'de> Deserialize<'de> for AgentRoots
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
impl Eq for AgentRoots
Source§impl PartialEq for AgentRoots
impl PartialEq for AgentRoots
Source§impl Serialize for AgentRoots
impl Serialize for AgentRoots
impl StructuralPartialEq for AgentRoots
Auto Trait Implementations§
impl Freeze for AgentRoots
impl RefUnwindSafe for AgentRoots
impl Send for AgentRoots
impl Sync for AgentRoots
impl Unpin for AgentRoots
impl UnsafeUnpin for AgentRoots
impl UnwindSafe for AgentRoots
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