pub struct HostedAgentCatalog { /* private fields */ }Implementations§
Source§impl HostedAgentCatalog
impl HostedAgentCatalog
pub fn new(agents: Arc<dyn AgentRegistry>) -> Self
Trait Implementations§
Source§impl AgentCatalog for HostedAgentCatalog
impl AgentCatalog for HostedAgentCatalog
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 HostedAgentCatalog
impl Clone for HostedAgentCatalog
Source§fn clone(&self) -> HostedAgentCatalog
fn clone(&self) -> HostedAgentCatalog
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 moreAuto Trait Implementations§
impl Freeze for HostedAgentCatalog
impl !RefUnwindSafe for HostedAgentCatalog
impl Send for HostedAgentCatalog
impl Sync for HostedAgentCatalog
impl Unpin for HostedAgentCatalog
impl !UnwindSafe for HostedAgentCatalog
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