Module content_store

Module content_store 

Source

Structs§

AdmitAllPolicy
Admit everything unconditionally — useful when the application manages freshness externally or for testing.
CsCapacity
Capacity of a content store.
CsEntry
A cache entry: wire-format Data bytes plus derived metadata.
CsMeta
Metadata provided to the CS on insert.
CsStats
Snapshot of content store hit/miss/insert/eviction counters.
DefaultAdmissionPolicy
Default policy: admit only Data packets that have a positive FreshnessPeriod.
NullCs
A no-op content store — disables caching entirely at zero pipeline cost.

Enums§

InsertResult
Result of a CS insert operation.

Traits§

ContentStore
The ContentStore trait.
CsAdmissionPolicy
Policy that decides whether a Data packet should be admitted to the CS.
ErasedContentStore
Object-safe version of ContentStore that boxes its futures.