pub struct SmartCodeReviewTool { /* private fields */ }Expand description
A smart code review tool that makes autonomous decisions
Implementations§
Trait Implementations§
Source§impl AgenticTool for SmartCodeReviewTool
impl AgenticTool for SmartCodeReviewTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get tool description.
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
goal: ToolGoal,
context: &'life1 mut AgenticContext,
) -> Pin<Box<dyn Future<Output = Result<AgenticToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
goal: ToolGoal,
context: &'life1 mut AgenticContext,
) -> Pin<Box<dyn Future<Output = Result<AgenticToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the agentic tool with goal and context. Read more
Auto Trait Implementations§
impl Freeze for SmartCodeReviewTool
impl RefUnwindSafe for SmartCodeReviewTool
impl Send for SmartCodeReviewTool
impl Sync for SmartCodeReviewTool
impl Unpin for SmartCodeReviewTool
impl UnsafeUnpin for SmartCodeReviewTool
impl UnwindSafe for SmartCodeReviewTool
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