#[repr(u8)]pub enum SegmentType {
Show 20 variants
Invalid = 0,
Vec = 1,
Index = 2,
Overlay = 3,
Journal = 4,
Manifest = 5,
Quant = 6,
Meta = 7,
Hot = 8,
Sketch = 9,
Witness = 10,
Profile = 11,
Crypto = 12,
MetaIdx = 13,
Kernel = 14,
Ebpf = 15,
CowMap = 32,
Refcount = 33,
Membership = 34,
Delta = 35,
}Expand description
Identifies the kind of data stored in a segment.
Values 0x00 and 0xF0..=0xFF are reserved.
Variants§
Invalid = 0
Not a valid segment (uninitialized / zeroed region).
Vec = 1
Raw vector payloads (the actual embeddings).
Index = 2
HNSW adjacency lists, entry points, routing tables.
Overlay = 3
Graph overlay deltas, partition updates, min-cut witnesses.
Journal = 4
Metadata mutations (label changes, deletions, moves).
Manifest = 5
Segment directory, hotset pointers, epoch state.
Quant = 6
Quantization dictionaries and codebooks.
Meta = 7
Arbitrary key-value metadata (tags, provenance, lineage).
Hot = 8
Temperature-promoted hot data (vectors + neighbors).
Sketch = 9
Access counter sketches for temperature decisions.
Witness = 10
Capability manifests, proof of computation, audit trails.
Profile = 11
Domain profile declarations (RVDNA, RVText, etc.).
Crypto = 12
Key material, signature chains, certificate anchors.
MetaIdx = 13
Metadata inverted indexes for filtered search.
Kernel = 14
Embedded kernel / unikernel image for self-booting.
Ebpf = 15
Embedded eBPF program for kernel fast path.
CowMap = 32
COW cluster mapping.
Refcount = 33
Cluster reference counts.
Membership = 34
Vector membership filter.
Delta = 35
Sparse delta patches.
Trait Implementations§
Source§impl Clone for SegmentType
impl Clone for SegmentType
Source§fn clone(&self) -> SegmentType
fn clone(&self) -> SegmentType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more