pub struct HandoffTool {
pub default_target: String,
/* private fields */
}Fields§
§default_target: StringImplementations§
Trait Implementations§
Source§impl RichTool for HandoffTool
impl RichTool for HandoffTool
fn descriptor(&self) -> &ToolDescriptor
fn invoke_rich<'life0, 'life1, 'async_trait>(
&'life0 self,
args: Value,
_ctx: &'life1 InvokeCtx,
) -> Pin<Box<dyn Future<Output = Result<ToolReturn>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for HandoffTool
impl RefUnwindSafe for HandoffTool
impl Send for HandoffTool
impl Sync for HandoffTool
impl Unpin for HandoffTool
impl UnsafeUnpin for HandoffTool
impl UnwindSafe for HandoffTool
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