pub struct ExitPlanModeTool { /* private fields */ }Implementations§
Source§impl ExitPlanModeTool
impl ExitPlanModeTool
pub fn new(paused: Arc<AtomicBool>) -> Self
Trait Implementations§
Source§impl Tool for ExitPlanModeTool
impl Tool for ExitPlanModeTool
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 ExitPlanModeTool
impl RefUnwindSafe for ExitPlanModeTool
impl Send for ExitPlanModeTool
impl Sync for ExitPlanModeTool
impl Unpin for ExitPlanModeTool
impl UnsafeUnpin for ExitPlanModeTool
impl UnwindSafe for ExitPlanModeTool
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