Skip to main content

Module sqlite

Module sqlite 

Source
Expand description

SQLite index over stored traces (SPEC.md §8).

The filesystem store (super::fs::Store) is the authoritative source of truth for trace content; this index just lets shadow answer questions like “which traces have tag env=prod?” without scanning every file on disk. The bundled feature of rusqlite is on, so there’s no system sqlite3 dependency.

Structs§

Index
SQLite-backed trace index. Cheap to construct; use one per process or thread.
ReplayRecord
One row in the replays table.
TraceRecord
One row in the traces table (plus its tags).

Enums§

IndexError
Errors from Index.

Type Aliases§

Result
Result alias for index operations.