pub struct GetSystemInfoTool { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for GetSystemInfoTool
impl Default for GetSystemInfoTool
Source§impl Tool for GetSystemInfoTool
impl Tool for GetSystemInfoTool
fn definition(&self) -> &ToolDefinition
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
_input: Value,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn validate_input(&self, _input: &Value) -> Result<()>
fn name(&self) -> &str
fn is_dangerous(&self) -> bool
Auto Trait Implementations§
impl Freeze for GetSystemInfoTool
impl RefUnwindSafe for GetSystemInfoTool
impl Send for GetSystemInfoTool
impl Sync for GetSystemInfoTool
impl Unpin for GetSystemInfoTool
impl UnwindSafe for GetSystemInfoTool
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