Expand description
Core types for HydraCache.
This crate intentionally contains no database adapter and no distributed runtime. It defines the small set of types shared by the v0 local cache.
Structs§
- Cache
Diagnostics - User-facing diagnostic snapshot for a local cache instance.
- Cache
Event - Metadata-only cache event.
- Cache
Event Options - Subscription filters for cache events.
- Cache
Key - A logical cache key.
- Cache
KeyBuilder - Builder for cache keys made of escaped
:-separated segments. - Cache
Options - Per-entry cache behavior.
- Cache
Stats - Snapshot of lightweight cache counters.
- Postcard
Codec - Default compact binary codec for v0.
- TagSet
- A reusable set of cache invalidation tags.
Enums§
- Cache
Error - Errors returned by HydraCache.
- Cache
Event Kind - Kind of cache event emitted by a HydraCache runtime.
- Cache
Event Origin - Origin of a cache event.
- Cache
Event Scope - Logical scope affected by a cache event.
- Cache
Event Value Mode - Value payload mode requested by event subscribers.
Traits§
- Cache
Codec - Serialization boundary for cached values.
Type Aliases§
- Result
- HydraCache result type.