pub enum ProcKind {
Agent,
Mcp,
Shell,
Tool,
}Expand description
Role of a process inside an agent’s tree.
Variants§
Agent
A harness process, whether at the root or nested under another process.
Older snapshots called nested harness processes subagent.
Mcp
A Model Context Protocol server or helper.
Shell
A shell spawned to run a tool call.
Tool
Anything else the agent launched (test runners, sleep, caffeinate, …).
Implementations§
Trait Implementations§
impl Copy for ProcKind
Source§impl<'de> Deserialize<'de> for ProcKind
impl<'de> Deserialize<'de> for ProcKind
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 ProcKind
impl StructuralPartialEq for ProcKind
Auto Trait Implementations§
impl Freeze for ProcKind
impl RefUnwindSafe for ProcKind
impl Send for ProcKind
impl Sync for ProcKind
impl Unpin for ProcKind
impl UnsafeUnpin for ProcKind
impl UnwindSafe for ProcKind
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