Trait bloom::ASMS
[−]
[src]
pub trait ASMS { fn insert<T: Hash>(&mut self, item: &T) -> bool; fn contains<T: Hash>(&self, item: &T) -> bool; fn clear(&mut self); }
Stanard filter functions
Required Methods
fn insert<T: Hash>(&mut self, item: &T) -> bool
fn contains<T: Hash>(&self, item: &T) -> bool
fn clear(&mut self)
Implementors
impl<R, S> ASMS for BloomFilter<R, S> where
R: BuildHasher,
S: BuildHasher,impl<R, S> ASMS for CountingBloomFilter<R, S> where
R: BuildHasher,
S: BuildHasher,