Type Alias foyer::HybridCacheEntry
source · pub type HybridCacheEntry<K, V, S = RandomState> = CacheEntry<K, V, S>;Expand description
A cached entry holder of the hybrid cache.
Aliased Type§
enum HybridCacheEntry<K, V, S = RandomState> {
Fifo(GenericCacheEntry<K, V, SanityEviction<Fifo<(K, V)>>, SanityIndexer<HashTableIndexer<K, FifoHandle<(K, V)>>>, S>),
Lru(GenericCacheEntry<K, V, SanityEviction<Lru<(K, V)>>, SanityIndexer<HashTableIndexer<K, LruHandle<(K, V)>>>, S>),
Lfu(GenericCacheEntry<K, V, SanityEviction<Lfu<(K, V)>>, SanityIndexer<HashTableIndexer<K, LfuHandle<(K, V)>>>, S>),
S3Fifo(GenericCacheEntry<K, V, SanityEviction<S3Fifo<(K, V)>>, SanityIndexer<HashTableIndexer<K, S3FifoHandle<(K, V)>>>, S>),
}Variants§
Fifo(GenericCacheEntry<K, V, SanityEviction<Fifo<(K, V)>>, SanityIndexer<HashTableIndexer<K, FifoHandle<(K, V)>>>, S>)
A cached entry holder of the in-memory FIFO cache.
Lru(GenericCacheEntry<K, V, SanityEviction<Lru<(K, V)>>, SanityIndexer<HashTableIndexer<K, LruHandle<(K, V)>>>, S>)
A cached entry holder of the in-memory LRU cache.
Lfu(GenericCacheEntry<K, V, SanityEviction<Lfu<(K, V)>>, SanityIndexer<HashTableIndexer<K, LfuHandle<(K, V)>>>, S>)
A cached entry holder of the in-memory LFU cache.
S3Fifo(GenericCacheEntry<K, V, SanityEviction<S3Fifo<(K, V)>>, SanityIndexer<HashTableIndexer<K, S3FifoHandle<(K, V)>>>, S>)
A cached entry holder of the in-memory S3FIFO cache.