Trait bloom::Unionable [] [src]

pub trait Unionable {
    fn union(&mut self, other: &Self) -> bool;
}

Filters that implement this trait can be unioned with filters of the same type to produce a filter that contains the items that have been inserted into either filter.

Both filters MUST be the same size and be using the same hash functions for this to work. Will panic if the filters are not the same size, but will simply produce incorrect (meaningless) results if the filters are using different hash functions.

Required Methods

Implementors