docs.rs failed to build cachet_tier-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
cachet_tier-0.2.3
Cachet Tier
Core cache tier abstractions for building cache backends.
This crate defines the CacheTier trait that all cache implementations must satisfy,
along with CacheEntry for storing values with metadata and Error types for
fallible operations.
Overview
The cache tier abstraction separates storage concerns from caching features. Implement
CacheTier for your storage backend, then use cachet to add telemetry, TTL,
multi-tier fallback, and other features on top.
Implementing a Cache Tier
Implement all required methods of CacheTier:
use HashMap;
use RwLock;
use ;
;
Dynamic Dispatch
DynamicCache wraps any CacheTier in a type-erased container. This is useful
for multi-tier caches with heterogeneous storage backends.