AgentRegistry

Trait AgentRegistry 

Source
pub trait AgentRegistry: Send + Sync {
    // Required methods
    fn len(&self) -> usize;
    fn get(&self, id: &str) -> Option<AgentDefinition>;
    fn ids(&self) -> Vec<String>;
    fn snapshot(&self) -> HashMap<String, AgentDefinition>;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

Provided Methods§

Source

fn is_empty(&self) -> bool

Implementors§