pub struct BashTool;Implementations§
Source§impl BashTool
impl BashTool
pub fn new() -> Self
pub fn definition(&self) -> ToolDefinition
pub async fn execute(&self, params: Value) -> Result<ToolResult, ToolError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BashTool
impl RefUnwindSafe for BashTool
impl Send for BashTool
impl Sync for BashTool
impl Unpin for BashTool
impl UnsafeUnpin for BashTool
impl UnwindSafe for BashTool
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