Trait fastbloom_rs::Membership
source · pub trait Membership {
// Required methods
fn add(&mut self, element: &[u8]);
fn contains(&self, element: &[u8]) -> bool;
fn get_hash_indices(&self, element: &[u8]) -> Vec<u64>;
fn contains_hash_indices(&self, indices: &Vec<u64>) -> bool;
fn clear(&mut self);
}Expand description
filter for check whether membership.