pub struct Agent<M>where
M: ModelAdapter,{ /* private fields */ }Implementations§
Source§impl<M> Agent<M>where
M: ModelAdapter,
impl<M> Agent<M>where
M: ModelAdapter,
pub fn builder() -> AgentBuilder<M>
pub async fn start( self, config: SessionConfig, ) -> Result<LoopDriver<M::Session>, LoopError>
Auto Trait Implementations§
impl<M> Freeze for Agent<M>where
M: Freeze,
impl<M> !RefUnwindSafe for Agent<M>
impl<M> Send for Agent<M>
impl<M> !Sync for Agent<M>
impl<M> Unpin for Agent<M>where
M: Unpin,
impl<M> UnsafeUnpin for Agent<M>where
M: UnsafeUnpin,
impl<M> !UnwindSafe for Agent<M>
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