pub struct RegistrySet {
pub agents: Arc<dyn AgentRegistry>,
pub tools: Arc<dyn ToolRegistry>,
pub behaviors: Arc<dyn BehaviorRegistry>,
pub providers: Arc<dyn ProviderRegistry>,
pub models: Arc<dyn ModelRegistry>,
pub stop_policies: Arc<dyn StopPolicyRegistry>,
pub skills: Option<Arc<dyn SkillRegistry>>,
}Expand description
Aggregated registry set used by crate::runtime::AgentOs after build-time composition.
Fields§
§agents: Arc<dyn AgentRegistry>§tools: Arc<dyn ToolRegistry>§behaviors: Arc<dyn BehaviorRegistry>§providers: Arc<dyn ProviderRegistry>§models: Arc<dyn ModelRegistry>§stop_policies: Arc<dyn StopPolicyRegistry>§skills: Option<Arc<dyn SkillRegistry>>Implementations§
Source§impl RegistrySet
impl RegistrySet
pub fn new( agents: Arc<dyn AgentRegistry>, tools: Arc<dyn ToolRegistry>, behaviors: Arc<dyn BehaviorRegistry>, providers: Arc<dyn ProviderRegistry>, models: Arc<dyn ModelRegistry>, stop_policies: Arc<dyn StopPolicyRegistry>, skills: Option<Arc<dyn SkillRegistry>>, ) -> Self
Trait Implementations§
Source§impl Clone for RegistrySet
impl Clone for RegistrySet
Source§fn clone(&self) -> RegistrySet
fn clone(&self) -> RegistrySet
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 RegistrySet
impl !RefUnwindSafe for RegistrySet
impl Send for RegistrySet
impl Sync for RegistrySet
impl Unpin for RegistrySet
impl !UnwindSafe for RegistrySet
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