pub struct RemoteA2aAgent { /* private fields */ }Expand description
An agent that communicates with a remote A2A agent
Implementations§
Source§impl RemoteA2aAgent
impl RemoteA2aAgent
pub fn new(config: RemoteA2aConfig) -> Self
pub fn builder(name: impl Into<String>) -> RemoteA2aAgentBuilder
Trait Implementations§
Source§impl Agent for RemoteA2aAgent
impl Agent for RemoteA2aAgent
Source§fn description(&self) -> &str
fn description(&self) -> &str
Returns a human-readable description of this agent’s purpose.
Source§fn sub_agents(&self) -> &[Arc<dyn Agent>]
fn sub_agents(&self) -> &[Arc<dyn Agent>]
Returns the child agents managed by this agent.
Auto Trait Implementations§
impl Freeze for RemoteA2aAgent
impl RefUnwindSafe for RemoteA2aAgent
impl Send for RemoteA2aAgent
impl Sync for RemoteA2aAgent
impl Unpin for RemoteA2aAgent
impl UnsafeUnpin for RemoteA2aAgent
impl UnwindSafe for RemoteA2aAgent
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