pub struct CompositeAgentCatalog { /* private fields */ }Implementations§
Source§impl CompositeAgentCatalog
impl CompositeAgentCatalog
pub fn try_new( catalogs: impl IntoIterator<Item = Arc<dyn AgentCatalog>>, ) -> Result<Self, AgentCatalogError>
Trait Implementations§
Source§impl AgentCatalog for CompositeAgentCatalog
impl AgentCatalog for CompositeAgentCatalog
fn len(&self) -> usize
fn get(&self, id: &str) -> Option<ResolvedAgent>
fn ids(&self) -> Vec<String>
fn snapshot(&self) -> HashMap<String, ResolvedAgent>
fn is_empty(&self) -> bool
fn descriptor(&self, id: &str) -> Option<AgentDescriptor>
fn descriptors(&self) -> HashMap<String, AgentDescriptor>
Source§impl Clone for CompositeAgentCatalog
impl Clone for CompositeAgentCatalog
Source§fn clone(&self) -> CompositeAgentCatalog
fn clone(&self) -> CompositeAgentCatalog
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 CompositeAgentCatalog
impl Debug for CompositeAgentCatalog
Source§impl Default for CompositeAgentCatalog
impl Default for CompositeAgentCatalog
Source§fn default() -> CompositeAgentCatalog
fn default() -> CompositeAgentCatalog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompositeAgentCatalog
impl !RefUnwindSafe for CompositeAgentCatalog
impl Send for CompositeAgentCatalog
impl Sync for CompositeAgentCatalog
impl Unpin for CompositeAgentCatalog
impl !UnwindSafe for CompositeAgentCatalog
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