CodeTool

Trait CodeTool 

Source
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.

Required Associated Types§

Required Methods§

Source

fn search(&self, _query: Self::Query) -> Result<Self::Output, ToolError>

Implementors§