Expand description
The NodeDb trait: unified query interface for both Origin and Lite.
Application code writes against this trait once. The runtime determines whether queries execute locally (in-memory engines on Lite) or remotely (pgwire to Origin).
All methods are async — on native this runs on Tokio, on WASM this
runs on wasm-bindgen-futures.
Structs§
- Collection
Purged Event - Event passed to
NodeDb::on_collection_purgedhandlers.
Traits§
- NodeDb
- Unified database interface for NodeDB.
- Node
DbMarker - Marker bound for
NodeDband the futures it returns.
Type Aliases§
- Collection
Purged Handler - Handler registered via
NodeDb::on_collection_purged. Fn-ref (not FnMut) so the same handler can fire from multiple threads without interior mutability ceremony at every call site.