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.

Required methods

Creates a new set with count counters.

Returns the number of counters in the storage.

Increments the counter with index index.

Clears all counters.

Queries whether a counter indicates presence.

Implementations on Foreign Types

Implementors