pub struct RunCommandTool;Expand description
Run command tool
Trait Implementations§
Source§impl Tool for RunCommandTool
impl Tool for RunCommandTool
fn name(&self) -> &str
fn description(&self) -> &str
fn parameters(&self) -> Vec<Parameter>
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
args: &'life1 ToolArgs,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for RunCommandTool
impl RefUnwindSafe for RunCommandTool
impl Send for RunCommandTool
impl Sync for RunCommandTool
impl Unpin for RunCommandTool
impl UnsafeUnpin for RunCommandTool
impl UnwindSafe for RunCommandTool
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