pub struct AgentCardDiscovery { /* private fields */ }Expand description
Discovers and caches remote A2A agent cards.
Implementations§
Source§impl AgentCardDiscovery
impl AgentCardDiscovery
Sourcepub fn with_config(config: AgentCardDiscoveryConfig) -> Self
pub fn with_config(config: AgentCardDiscoveryConfig) -> Self
Create a discovery client with explicit cache settings.
Sourcepub fn with_http_client(
client: Client,
config: AgentCardDiscoveryConfig,
) -> Self
pub fn with_http_client( client: Client, config: AgentCardDiscoveryConfig, ) -> Self
Create a discovery client with a caller-provided HTTP client.
Trait Implementations§
Source§impl Debug for AgentCardDiscovery
impl Debug for AgentCardDiscovery
Auto Trait Implementations§
impl !Freeze for AgentCardDiscovery
impl !RefUnwindSafe for AgentCardDiscovery
impl Send for AgentCardDiscovery
impl Sync for AgentCardDiscovery
impl Unpin for AgentCardDiscovery
impl UnsafeUnpin for AgentCardDiscovery
impl !UnwindSafe for AgentCardDiscovery
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