pub trait SemanticSearchBackend: Send + Sync {
// Required method
fn search<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
query: &'life1 str,
file_pattern: Option<&'life2 str>,
max_results: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<SearchCodeHit>, ToolError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}