Skip to main content

Module cache

Module cache 

Source
Expand description

§Cache Repository

Pluggable cache backend abstraction for the Caching EIP.

§Contract

Per ADR-0023 Contract C1, backend failures (network errors, timeouts, storage unavailability) MUST surface as Err(CamelError), never as a silent miss. A get that returns Ok(None) means the key is definitively absent or expired — not “I couldn’t check.”

Structs§

CacheEntry
A cached entry with its content type and optional expiry.
CacheStats
Cache usage statistics.

Enums§

ContentType
The content type classification for a cached entry.

Traits§

CacheRepository
Pluggable cache backend.