pub trait SpectralBloomSet: BloomSet {
type Count;
// Required method
fn query_count(&self, index: usize) -> &Self::Count;
}
Expand description
A trait for types which can serve as the underlying storage for a
BloomFilter
and perform threshold-based
lookups.
Required Associated Types§
Required Methods§
Sourcefn query_count(&self, index: usize) -> &Self::Count
fn query_count(&self, index: usize) -> &Self::Count
Returns the count at index
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.