pub trait FrequencyEstimator:
Send
+ Sync
+ Debug {
// Required methods
fn observe(&self, hash: Hash);
fn estimate(&self, hash: Hash) -> u32;
}Expand description
Decayed frequency estimate shared by admission and eviction.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".