pub trait CodeTool {
type Query;
type Output;
// Required method
fn search(&self, _query: Self::Query) -> Result<Self::Output, ToolError>;
}Expand description
A generic interface that concrete tools may adopt.
pub trait CodeTool {
type Query;
type Output;
// Required method
fn search(&self, _query: Self::Query) -> Result<Self::Output, ToolError>;
}A generic interface that concrete tools may adopt.