Re-exports§
Modules§
Structs§
- Closure
Recorder - Convenience adapter that turns any
Fn(&MutationEvent) + Send + Syncinto aMutationRecorder— useful in tests and for quick wiring. - Expanded
Relationship - InMemory
Graph - Node
Record - Relationship
Record - Snapshot
Meta - Metadata reported by
save_snapshot/load_snapshot. Kept small and stable so callers can log / diff it without reflecting on the payload. - Snapshot
Payload - Portable representation of an entire store state.
Enums§
- Mutation
Event - A durable, replayable mutation against a graph store.
- Property
Value - Snapshot
Error - Errors produced by the snapshot codec.
Constants§
- HEADER_
FLAG_ HAS_ WAL_ LSN - Bit in
header_flagsthat marks thewal_lsnfield as meaningful. - SNAPSHOT_
FORMAT_ VERSION - Current snapshot format version. Bump on any payload-structure change.
- SNAPSHOT_
MAGIC - Magic bytes at the head of every snapshot file.
- SNAPSHOT_
MIN_ SUPPORTED_ FORMAT_ VERSION - Oldest snapshot format version the current reader accepts. Files with a
formatbelow this — or aboveSNAPSHOT_FORMAT_VERSION— are rejected withSnapshotError::UnsupportedVersion.
Traits§
- Borrowed
Graph Storage - Graph
Catalog - Graph
Storage - Graph
Storage Mut - Mutation
Recorder - Observer that receives every successful mutation in the order the store applied it.
- Snapshotable
- A backend that can serialize its state to a byte stream and restore from one.