pub struct StaticTeamAgentRegistry { /* private fields */ }Expand description
Deterministic in-process registry useful for generated projects and tests.
Implementations§
Trait Implementations§
Source§impl Default for StaticTeamAgentRegistry
impl Default for StaticTeamAgentRegistry
Source§fn default() -> StaticTeamAgentRegistry
fn default() -> StaticTeamAgentRegistry
Returns the “default value” for a type. Read more
Source§impl TeamAgentRegistry for StaticTeamAgentRegistry
impl TeamAgentRegistry for StaticTeamAgentRegistry
Source§fn candidates<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TeamAgentDescriptor>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn candidates<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TeamAgentDescriptor>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lists candidates visible to the current deployment and caller.
Source§fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
binding: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Agent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
binding: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Agent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Resolves one immutable binding identifier to an executable agent.
Authorizes a candidate for one portable member after metadata filtering.
Auto Trait Implementations§
impl !RefUnwindSafe for StaticTeamAgentRegistry
impl !UnwindSafe for StaticTeamAgentRegistry
impl Freeze for StaticTeamAgentRegistry
impl Send for StaticTeamAgentRegistry
impl Sync for StaticTeamAgentRegistry
impl Unpin for StaticTeamAgentRegistry
impl UnsafeUnpin for StaticTeamAgentRegistry
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