pub struct RunCommandTool;Expand description
Model-visible adapter that requests governed command execution.
Trait Implementations§
Source§impl Clone for RunCommandTool
impl Clone for RunCommandTool
impl Copy for RunCommandTool
Source§impl Debug for RunCommandTool
impl Debug for RunCommandTool
Source§impl Default for RunCommandTool
impl Default for RunCommandTool
Source§impl Tool for RunCommandTool
impl Tool for RunCommandTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Model perspective: this tool’s definition.
Source§fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execution perspective: run this tool. Read more
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