pub trait GraphNamespaceRead {
// Required methods
fn names(&self) -> Box<dyn Iterator<Item = &str> + '_>;
fn contains(&self, name: &str) -> bool;
// Provided method
fn namespace_oid(&self, name: &str) -> i64 { ... }
}Expand description
Metadata-only graph names held under the caller’s original registry read guard.
Required Methods§
fn names(&self) -> Box<dyn Iterator<Item = &str> + '_>
fn contains(&self, name: &str) -> bool
Provided Methods§
Sourcefn namespace_oid(&self, name: &str) -> i64
fn namespace_oid(&self, name: &str) -> i64
The OID of the graph’s schema: the one its creation allocated, or for a graph created before OIDs were recorded the one its name derives.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".