pub trait Node: Document {
const LABEL: &'static str;
}Expand description
A type that is a node in a graph.
A Document with a label. The label is what keeps two node types apart in
one store, and it is a string rather than a number so that a graph read back
off disk knows what it is holding.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".