MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / NodeRef

Enum NodeRef

rust/src/types.rs:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122/// Node reference that can be either a leaf or branch node
123#[derive(Debug, PartialEq, Eq)]
124pub enum NodeRef<K, V> {
125 Leaf(NodeId, PhantomData<(K, V)>),
126 Branch(NodeId, PhantomData<(K, V)>),
127}
128
129impl<K, V> Clone for NodeRef<K, V> {
130 fn clone(&self) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected