pub trait QueryStore: ConfigStore + SymbolLookup {
// Required methods
fn search_symbols(
&self,
query: &str,
limit: i64,
) -> Result<Vec<SymbolResult>, DbError>;
fn find_path(
&self,
from_symbol_id: i64,
to_symbol_id: i64,
max_depth: i64,
) -> Result<Vec<PathStep>, DbError>;
}Expand description
Read-only operations for querying the index.
Required Methods§
fn search_symbols( &self, query: &str, limit: i64, ) -> Result<Vec<SymbolResult>, DbError>
fn find_path( &self, from_symbol_id: i64, to_symbol_id: i64, max_depth: i64, ) -> Result<Vec<PathStep>, DbError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".