pub struct AskUserTool { /* private fields */ }Implementations§
Source§impl AskUserTool
impl AskUserTool
pub fn new(paused: Arc<AtomicBool>) -> Self
Trait Implementations§
Source§impl Tool for AskUserTool
impl Tool for AskUserTool
fn name(&self) -> &str
fn description(&self) -> &str
fn input_schema(&self) -> Value
fn permission_level(&self) -> PermissionLevel
fn execute<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = AppResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for AskUserTool
impl RefUnwindSafe for AskUserTool
impl Send for AskUserTool
impl Sync for AskUserTool
impl Unpin for AskUserTool
impl UnsafeUnpin for AskUserTool
impl UnwindSafe for AskUserTool
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