leyline-engine 0.1.0

Storage engine: IDs, segments, CSR adjacency, manifest, LSM
Documentation
1
2
3
4
5
6
7
8
9
/// Dense internal node identifier. Assigned sequentially by the writer;
/// user-facing keys map to these via the key index.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct NodeId(pub u64);

/// Interned edge label. Label strings live in the manifest's label table;
/// segments store only this id.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct EdgeLabel(pub u32);