Expand description
StorageEngine trait: the async key-value blob interface.
All persistent storage on the edge goes through this trait. pagedb is the backend on every target — native via platform async I/O and WASM via the OPFS worker. The engines above (HNSW, CSR, Loro) serialize their data to opaque blobs and store them here. The storage layer never interprets the data.
Structs§
- Compaction
Outcome - Summary of what a
StorageEngine::compactcall reclaimed. - Prefix
Scan - Prefix records and the budget that excludes the next record.
Enums§
- Prefix
Scan Limit - The budget that excludes the next matching record.
- WriteOp
- A write operation for batch writes.
Traits§
- Storage
Engine - Async key-value blob storage backend.
Type Aliases§
- KvPair
- Key-value pair returned by scan operations (
scan_prefix,scan_range).