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§
- Cache
Entry - A cached entry with its content type and optional expiry.
- Cache
Stats - Cache usage statistics.
Enums§
- Content
Type - The content type classification for a cached entry.
Traits§
- Cache
Repository - Pluggable cache backend.