pub trait GraphStore {
// Required methods
fn callers(&self, fqn: &str) -> Vec<SymbolRef>;
fn callees(&self, fqn: &str) -> Vec<SymbolRef>;
fn file_dependencies(&self, path: &str) -> Vec<String>;
fn impact(&self, fqn: &str, limits: QueryLimits) -> ImpactReport;
fn symbols_in_file(&self, path: &str) -> FileSymbols;
fn find_symbol(&self, query: &str) -> Vec<SymbolRef>;
fn node_count(&self) -> usize;
fn edge_count(&self) -> usize;
}Required Methods§
fn callers(&self, fqn: &str) -> Vec<SymbolRef>
fn callees(&self, fqn: &str) -> Vec<SymbolRef>
fn file_dependencies(&self, path: &str) -> Vec<String>
fn impact(&self, fqn: &str, limits: QueryLimits) -> ImpactReport
fn symbols_in_file(&self, path: &str) -> FileSymbols
fn find_symbol(&self, query: &str) -> Vec<SymbolRef>
fn node_count(&self) -> usize
fn edge_count(&self) -> usize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".