pub struct BashTool { /* private fields */ }Expand description
bash — run a shell command in the sandbox.
Implementations§
Trait Implementations§
Source§impl Tool for BashTool
impl Tool for BashTool
Source§fn definition(&self) -> ToolDefinition
fn definition(&self) -> ToolDefinition
The static definition (name/schema/description).
Auto Trait Implementations§
impl !RefUnwindSafe for BashTool
impl !UnwindSafe for BashTool
impl Freeze for BashTool
impl Send for BashTool
impl Sync for BashTool
impl Unpin for BashTool
impl UnsafeUnpin 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