pub enum RegistryAgentStatus {
Registered {
binary: PathBuf,
version: Option<String>,
source: AgentSource,
},
DisabledByConfig,
Unavailable {
binary: PathBuf,
reason: String,
},
}Expand description
What the registry knows about a candidate agent — populated by
AgentRegistry::populate_from_discovery so callers (e.g.
brain doctor, QueryAgents intent) can explain availability.
Variants§
Trait Implementations§
Source§impl Clone for RegistryAgentStatus
impl Clone for RegistryAgentStatus
Source§fn clone(&self) -> RegistryAgentStatus
fn clone(&self) -> RegistryAgentStatus
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 moreAuto Trait Implementations§
impl Freeze for RegistryAgentStatus
impl RefUnwindSafe for RegistryAgentStatus
impl Send for RegistryAgentStatus
impl Sync for RegistryAgentStatus
impl Unpin for RegistryAgentStatus
impl UnsafeUnpin for RegistryAgentStatus
impl UnwindSafe for RegistryAgentStatus
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