Trait Entry
freqache
pub trait Entry: Clone { fn weight(&self) -> u64; }
An LFUCache entry
LFUCache
fn weight(&self) -> u64
The weight of this item in the cache. This value must be stable over the lifetime of the item.