pub trait EdgePredicate: Send + Sync {
// Required method
fn matches(&self, target: u64, edge_id: u64, label_id: LabelId) -> bool;
}Expand description
Trait for predicate pushdown filtering in CsrSnapshot.
Implementations evaluate whether an edge should be included in traversal results directly at the CSR level, avoiding materialisation of non-matching edges.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".