pub struct DiskUsageTool;Expand description
Analyzes directory size (du-style).
Implementations§
Source§impl DiskUsageTool
impl DiskUsageTool
Trait Implementations§
Source§impl Default for DiskUsageTool
impl Default for DiskUsageTool
Source§impl Tool for DiskUsageTool
impl Tool for DiskUsageTool
fn name(&self) -> &str
fn description(&self) -> &str
fn parameters(&self) -> Value
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: Value,
ctx: &'life1 ToolContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DiskUsageTool
impl RefUnwindSafe for DiskUsageTool
impl Send for DiskUsageTool
impl Sync for DiskUsageTool
impl Unpin for DiskUsageTool
impl UnsafeUnpin for DiskUsageTool
impl UnwindSafe for DiskUsageTool
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