pub struct ReadTool { /* private fields */ }Implementations§
Source§impl ReadTool
impl ReadTool
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 ReadTool
impl RefUnwindSafe for ReadTool
impl Send for ReadTool
impl Sync for ReadTool
impl Unpin for ReadTool
impl UnsafeUnpin for ReadTool
impl UnwindSafe for ReadTool
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