pub struct FileExplorerTool { /* private fields */ }
Expand description
文件探索工具
Implementations§
Trait Implementations§
Source§impl Clone for FileExplorerTool
impl Clone for FileExplorerTool
Source§fn clone(&self) -> FileExplorerTool
fn clone(&self) -> FileExplorerTool
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 FileExplorerTool
impl Debug for FileExplorerTool
Source§impl Tool for FileExplorerTool
impl Tool for FileExplorerTool
Source§type Error = FileExplorerToolError
type Error = FileExplorerToolError
The error type of the tool.
Source§type Args = FileExplorerArgs
type Args = FileExplorerArgs
The arguments type of the tool.
Source§type Output = FileExplorerResult
type Output = FileExplorerResult
The output type of the tool.
Source§async fn definition(&self, _prompt: String) -> ToolDefinition
async fn definition(&self, _prompt: String) -> ToolDefinition
A method returning the tool definition. The user prompt can be used to
tailor the definition to the specific use case.
Auto Trait Implementations§
impl Freeze for FileExplorerTool
impl RefUnwindSafe for FileExplorerTool
impl Send for FileExplorerTool
impl Sync for FileExplorerTool
impl Unpin for FileExplorerTool
impl UnwindSafe for FileExplorerTool
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