pub struct CoreToolExecutor { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ToolExecutor for CoreToolExecutor
impl ToolExecutor for CoreToolExecutor
fn execute<'life0, 'async_trait>(
&'life0 self,
call: ToolCall,
) -> Pin<Box<dyn Future<Output = ToolOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with<'life0, 'async_trait>(
&'life0 self,
call: ToolCall,
events: EventSink,
cancel: CancellationToken,
) -> Pin<Box<dyn Future<Output = ToolOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for CoreToolExecutor
impl RefUnwindSafe for CoreToolExecutor
impl Send for CoreToolExecutor
impl Sync for CoreToolExecutor
impl Unpin for CoreToolExecutor
impl UnsafeUnpin for CoreToolExecutor
impl UnwindSafe for CoreToolExecutor
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