pub trait GraphDataSource {
// Required methods
fn num_nodes(&self) -> usize;
fn edges(&self) -> Vec<GraphEdge>;
}Expand description
Provides the node/edge topology backing the graph for GDS table functions.
Implementors snapshot the graph at call time. Edges whose source or
destination is u64::MAX (soft-deleted rows) are excluded.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".