Skip to main content

Module cache_entry

Module cache_entry 

Source
Expand description

rustev.cache-entry/1: one entry of the persistent tier (spec 044, 3.4.3).

An entry is the record canonical bytes of CacheEntry. Everything but the integrity digest is its EntryBody, and the digest is tagged_digest("rustev.cache-entry/1", record canonical bytes of the body), so a stored entry is checked in full on every read and a store never needs to understand it.

Structs§

CacheEntry
DecisionPayload
A judged decision’s reusable work (spec 044, 3.6.4). It holds no judgment to serve: the core recomputes every served judgment (3.6.3).
EntryBody
Everything an entry holds besides its integrity digest.
EntryGenerations
RequestPayload
A validated raw output and where it came from. Its derivation follows from the plan, which the key names; its lineage is the source attempt and the entry’s evidence.
ReusedRequestPayload
A request outside the refresh closure: its 017 key, the validated output of target 0 and the attempt that produced it. As for a request payload, its derivation follows from the plan the entry’s key names, and its lineage is the source attempt and the payload’s run_record.

Enums§

EntryKind
A request-level entry, or a decision-result cache entry (3.6.4); the payload’s variant is the kind’s.
EntryPayload