pub trait BloomSet {
fn new(count: usize) -> Self;
fn size(&self) -> usize;
fn increment(&mut self, index: usize);
fn clear(&mut self);
fn query(&self, index: usize) -> bool;
}
Expand description
A trait for types which can serve as the underlying storage for a
BloomFilter
.