pub struct ShellExec;Trait Implementations§
Source§impl Tool for ShellExec
impl Tool for ShellExec
fn name(&self) -> &str
fn schema(&self) -> &ToolSchema
fn risk(&self) -> ToolRisk
fn invoke<'life0, 'life1, 'async_trait>(
&'life0 self,
args: Value,
world: &'life1 mut World,
) -> 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 ShellExec
impl RefUnwindSafe for ShellExec
impl Send for ShellExec
impl Sync for ShellExec
impl Unpin for ShellExec
impl UnsafeUnpin for ShellExec
impl UnwindSafe for ShellExec
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