Expand description
One in-flight snapshot job, isolated from UI navigation. Generation checks discard stale scopes/pages; state hints coalesce in the driver and resyncs drop the worker’s caches.
Loader is the UI-agnostic seam: the terminal monitor and the desktop app both read
their catalog, Runs page and selected Run through it.
Structs§
- Completed
- Input
- Everything one snapshot read needs; the caller keeps the catalog between reads.
- Loader
- A persistent, read-only snapshot worker with its caches. Call
Loader::loadon a blocking thread; it never writes. - Origin
- Where a snapshot was read from: the state identity and the database file.
- Page
- Which Runs page of which scope a snapshot reads, and the Run it opens.
- Selection
- The monitor’s page plus what tells an obsolete job from a current one.
- Snapshot
- One consistent read: the catalog, the scope’s Runs page and the selected Run with its tree.
Functions§
- newer_
offset - Where the page of newer Runs starts, when this one is not the first.
- older_
offset - Where the page of older Runs starts, when the page shown (
shownRuns oflimit) is full.