pub enum ProcessType {
AgentRun {
agent_id: i64,
agent_name: String,
},
ClaudeSession {
session_id: String,
},
}Expand description
Type of process being tracked in the registry
This enum distinguishes between different types of processes that can be managed by the registry, each with their own metadata.
Variants§
AgentRun
An agent run process spawned by the server
Fields
ClaudeSession
A Claude interactive session process
Trait Implementations§
Source§impl Clone for ProcessType
impl Clone for ProcessType
Source§fn clone(&self) -> ProcessType
fn clone(&self) -> ProcessType
Returns a duplicate of the value. Read more
1.0.0 · 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 ProcessType
impl Debug for ProcessType
Source§impl<'de> Deserialize<'de> for ProcessType
impl<'de> Deserialize<'de> for ProcessType
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
Auto Trait Implementations§
impl Freeze for ProcessType
impl RefUnwindSafe for ProcessType
impl Send for ProcessType
impl Sync for ProcessType
impl Unpin for ProcessType
impl UnsafeUnpin for ProcessType
impl UnwindSafe for ProcessType
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