pub struct RuntimeAgent<T>where
T: AgentHandle,{ /* private fields */ }
Expand description
Default runtime wrapper that delegates to an inner agent implementation.
Implementations§
Source§impl<T> RuntimeAgent<T>where
T: AgentHandle,
impl<T> RuntimeAgent<T>where
T: AgentHandle,
Trait Implementations§
Source§impl<T> AgentHandle for RuntimeAgent<T>
impl<T> AgentHandle for RuntimeAgent<T>
fn describe<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AgentDescriptor> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_message<'life0, 'async_trait>(
&'life0 self,
input: AgentMessage,
state: Arc<AgentStateSnapshot>,
) -> Pin<Box<dyn Future<Output = Result<AgentMessage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for RuntimeAgent<T>
impl<T> RefUnwindSafe for RuntimeAgent<T>where
T: RefUnwindSafe,
impl<T> Send for RuntimeAgent<T>
impl<T> Sync for RuntimeAgent<T>
impl<T> Unpin for RuntimeAgent<T>
impl<T> UnwindSafe for RuntimeAgent<T>where
T: RefUnwindSafe,
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