pub struct TestAgent { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Agent for TestAgent
impl Agent for TestAgent
Source§type Output = TestOutput
type Output = TestOutput
Output type for this agent
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the agent’s primary function Read more
Source§fn capabilities(&self) -> Vec<AgentCapability>
fn capabilities(&self) -> Vec<AgentCapability>
Get the capabilities this agent provides
Auto Trait Implementations§
impl Freeze for TestAgent
impl RefUnwindSafe for TestAgent
impl Send for TestAgent
impl Sync for TestAgent
impl Unpin for TestAgent
impl UnsafeUnpin for TestAgent
impl UnwindSafe for TestAgent
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