pub trait GraphCatalog {
// Required methods
fn node_count(&self) -> usize;
fn relationship_count(&self) -> usize;
fn has_label_name(&self, label: &str) -> bool;
fn has_relationship_type_name(&self, rel_type: &str) -> bool;
fn has_property_key(&self, key: &str) -> bool;
}Required Methods§
fn node_count(&self) -> usize
fn relationship_count(&self) -> usize
fn has_label_name(&self, label: &str) -> bool
fn has_relationship_type_name(&self, rel_type: &str) -> bool
fn has_property_key(&self, key: &str) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".