Expand description
skp-cache-core: Core traits and types for the skp-cache library
This crate provides the foundational types and traits used throughout the skp-cache ecosystem.
Structs§
- Cache
Entry - A cached entry with full metadata
- Cache
Options - Configuration options for a cache entry
- Cache
Opts - Builder for CacheOptions with fluent API
- Cache
Stats - Statistics for cache operations
- Composite
Key - Composite key builder for complex keys
- Json
Serializer - JSON serializer (default)
- Noop
Compressor - No-op compressor (disabled compression)
- Noop
Metrics - No-op metrics implementation (default)
Enums§
- Cache
Error - Main error type for all cache operations
- Cache
Operation - Cache operation for latency tracking
- Cache
Result - Result of a cache lookup operation
- Cache
Tier - Cache tier for metrics labeling
- Eviction
Reason - Reason for cache eviction
Traits§
- Cache
Backend - Core trait for all cache storage backends
- Cache
Key - Trait for types that can be used as cache keys
- Cache
Metrics - Trait for cache metrics/observability
- Compressor
- Trait for compression implementations
- Dependency
Backend - Extended trait for backends that support dependency tracking
- Distributed
Backend - Extended trait for distributed backends
- Serializer
- Trait for pluggable serialization formats
- Taggable
Backend - Extended trait for backends that support tag-based operations
Type Aliases§
- Result
- Result type alias for cache operations