pub struct AgentRegistry { /* private fields */ }Expand description
In-memory registry of all known agents.
Implementations§
Source§impl AgentRegistry
impl AgentRegistry
Sourcepub fn update_metadata(&mut self, id: AgentId, key: &str, value: &str)
pub fn update_metadata(&mut self, id: AgentId, key: &str, value: &str)
Update a single metadata key for an agent.
Trait Implementations§
Source§impl Debug for AgentRegistry
impl Debug for AgentRegistry
Source§impl Default for AgentRegistry
impl Default for AgentRegistry
Source§fn default() -> AgentRegistry
fn default() -> AgentRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentRegistry
impl RefUnwindSafe for AgentRegistry
impl Send for AgentRegistry
impl Sync for AgentRegistry
impl Unpin for AgentRegistry
impl UnsafeUnpin for AgentRegistry
impl UnwindSafe for AgentRegistry
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