pub struct ShellExecTool { /* private fields */ }Trait Implementations§
Source§impl Clone for ShellExecTool
impl Clone for ShellExecTool
Source§fn clone(&self) -> ShellExecTool
fn clone(&self) -> ShellExecTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellExecTool
impl Debug for ShellExecTool
Source§impl Default for ShellExecTool
impl Default for ShellExecTool
Source§impl Tool for ShellExecTool
impl Tool for ShellExecTool
fn spec(&self) -> &ToolSpec
fn proposed_requests( &self, request: &ToolRequest, ) -> Result<Vec<Box<dyn PermissionRequest>>, ToolError>
fn invoke<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: ToolRequest,
ctx: &'life1 mut ToolContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for ShellExecTool
impl RefUnwindSafe for ShellExecTool
impl Send for ShellExecTool
impl Sync for ShellExecTool
impl Unpin for ShellExecTool
impl UnsafeUnpin for ShellExecTool
impl UnwindSafe for ShellExecTool
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