SpectralBloomSet

Trait SpectralBloomSet 

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl<T> SpectralBloomSet for Box<[T]>
where T: SaturatingAdd + One + Zero + Ord,

Source§

type Count = T

Source§

fn query_count(&self, index: usize) -> &Self::Count

Implementors§