Skip to main content

GraphEngine

Trait GraphEngine 

Source
pub trait GraphEngine {
    // Required methods
    fn transitive_callers(
        &self,
        target: &str,
        depth: usize,
    ) -> Result<Vec<(i64, usize)>>;
    fn kind(&self) -> GraphEngineKind;
}

Required Methods§

Source

fn transitive_callers( &self, target: &str, depth: usize, ) -> Result<Vec<(i64, usize)>>

Return caller symbol IDs that transitively reach target within depth hops (depth 1 = direct callers).

Source

fn kind(&self) -> GraphEngineKind

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§