Expand description
Reader for the event store.
The reader composes over the locked EventStore trait. It owns one backend instance,
exposes range scans as a chunked iterator, single-seq lookups, secondary-index
lookups, and manifest access. The backend the reader receives may be a still-open run
(the writer’s backend) or a sealed run produced via
crate::backend::RedbBackend::open_sealed.
Run iteration across a base directory lives on the redb backend itself
(crate::backend::RedbBackend::list_runs) because it depends on the on-disk file
layout; the in-memory backend has no analog and reads its single open run in place.
Structs§
- Event
Store Reader - Read-only handle over an
EventStorebackend. - Range
Scan - Lazy iterator over a
seqrange, materialized in chunks. - Snapshot
Replay Plan - Replay bounds derived from the latest cache snapshot anchor.
Constants§
- DEFAULT_
SCAN_ CHUNK_ SIZE - Default number of entries materialized per chunked
scan_rangecall.