pub struct SearchCodeTool {
pub cfg: SearchConfig,
pub timeout_secs: u64,
}Fields§
§cfg: SearchConfig§timeout_secs: u64Trait Implementations§
Source§impl Tool for SearchCodeTool
impl Tool for SearchCodeTool
fn schema(&self) -> ToolSchema
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 Value,
_c: &'life2 Atomic<bool>,
) -> Pin<Box<dyn Future<Output = Result<String, AacodeError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
SearchCodeTool: 'async_trait,
fn name(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for SearchCodeTool
impl RefUnwindSafe for SearchCodeTool
impl Send for SearchCodeTool
impl Sync for SearchCodeTool
impl Unpin for SearchCodeTool
impl UnsafeUnpin for SearchCodeTool
impl UnwindSafe for SearchCodeTool
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