pub trait GraphSourceCatalog: Send + Sync {
// Required methods
fn node_source(&self, label: &str) -> Option<Arc<dyn TableSource>>;
fn relationship_source(
&self,
rel_type: &str,
) -> Option<Arc<dyn TableSource>>;
}Expand description
A minimal catalog to resolve node labels and relationship types to logical table sources.
Required Methods§
fn node_source(&self, label: &str) -> Option<Arc<dyn TableSource>>
fn relationship_source(&self, rel_type: &str) -> Option<Arc<dyn TableSource>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".