pub struct BasicToolExecutor { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ToolExecutor for BasicToolExecutor
impl ToolExecutor for BasicToolExecutor
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: ToolRequest,
ctx: &'life1 mut ToolContext<'life2>,
) -> Pin<Box<dyn Future<Output = ToolExecutionOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute_approved<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
request: ToolRequest,
approved_request: &'life1 ApprovalRequest,
ctx: &'life2 mut ToolContext<'life3>,
) -> Pin<Box<dyn Future<Output = ToolExecutionOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for BasicToolExecutor
impl !RefUnwindSafe for BasicToolExecutor
impl Send for BasicToolExecutor
impl Sync for BasicToolExecutor
impl Unpin for BasicToolExecutor
impl UnsafeUnpin for BasicToolExecutor
impl !UnwindSafe for BasicToolExecutor
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