Expand description
Pluggable L2 cache backend interfaces and built-in implementations.
A backend is scoped by BackendKeyspace, which Sassi constructs
from crate::punnu::PunnuConfig::namespace and
crate::Cacheable::cache_type_name. Backend implementations must treat
that keyspace as the only namespace/type source of truth.
Structs§
- Backend
Keyspace - Namespace/type scope for backend storage and invalidation channels.
- File
Backend - File-backed cache backend.
- Memory
Backend - Separate in-memory backend that stores wire-envelope bytes.
Enums§
- Backend
Invalidation - Backend-driven invalidation message.
Traits§
- Cache
Backend - L2 cache backend for a single
Cacheablepayload type.
Type Aliases§
- Backend
Invalidation Stream - Stream type used by
CacheBackend::invalidation_stream.