Skip to main content

Module engine

Module engine 

Source
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§

CompactionOutcome
Summary of what a StorageEngine::compact call reclaimed.
PrefixScan
Prefix records and the budget that excludes the next record.

Enums§

PrefixScanLimit
The budget that excludes the next matching record.
WriteOp
A write operation for batch writes.

Traits§

StorageEngine
Async key-value blob storage backend.

Type Aliases§

KvPair
Key-value pair returned by scan operations (scan_prefix, scan_range).