pub struct Runner { /* private fields */ }Implementations§
Source§impl Runner
impl Runner
pub fn new(config: RunnerConfig) -> Result<Self>
pub async fn run( &self, user_id: String, session_id: String, user_content: Content, ) -> Result<EventStream>
Auto Trait Implementations§
impl Freeze for Runner
impl !RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl !UnwindSafe for Runner
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