pub struct WriteTool { /* private fields */ }Implementations§
Source§impl WriteTool
impl WriteTool
pub fn new(base_dir: String) -> Self
pub fn definition(&self) -> ToolDefinition
pub async fn execute(&self, params: Value) -> Result<ToolResult, ToolError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteTool
impl RefUnwindSafe for WriteTool
impl Send for WriteTool
impl Sync for WriteTool
impl Unpin for WriteTool
impl UnsafeUnpin for WriteTool
impl UnwindSafe for WriteTool
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