Struct bloom_rs::BloomFilter [] [src]

pub struct BloomFilter { /* fields omitted */ }

Representation of a bloom filter.

Methods

impl BloomFilter
[src]

Creates a new BloomFilter instance.

Returns the capacity of the bloom filter.

Add a new item to the bloom filter.

Check whether the item is in the bloom filter. If true, the result might be false positive. If false, the data is definitely not in the set.

Clear all items inserted in the bloom filter.

Trait Implementations

impl Debug for BloomFilter
[src]

Formats the value using the given formatter.