[−][src]Trait xorf::Filter
Methods common to xor filters.
Required methods
fn contains(&self, key: &Type) -> bool
Returns true
if the filter probably contains the specified key.
There can never be a false negative, but there is a small possibility of false positives. Refer to individual filters' documentation for false positive rates.
fn len(&self) -> usize
Returns the number of fingerprints in the filter.
Implementors
impl Filter<u64> for Fuse16
[src]
fn contains(&self, key: &u64) -> bool
[src]
Returns true
if the filter contains the specified key. Has a false positive rate of <0.02%.
fn len(&self) -> usize
[src]
impl Filter<u64> for Fuse8
[src]
fn contains(&self, key: &u64) -> bool
[src]
Returns true
if the filter contains the specified key. Has a false positive rate of <0.4%.
fn len(&self) -> usize
[src]
impl Filter<u64> for Xor16
[src]
fn contains(&self, key: &u64) -> bool
[src]
Returns true
if the filter contains the specified key. Has a false positive rate of <0.02%.
fn len(&self) -> usize
[src]
impl Filter<u64> for Xor8
[src]
fn contains(&self, key: &u64) -> bool
[src]
Returns true
if the filter contains the specified key. Has a false positive rate of <0.4%.
fn len(&self) -> usize
[src]
impl<T, H, F> Filter<T> for HashProxy<T, H, F> where
T: Hash,
H: Hasher + Default,
F: Filter<u64>,
[src]
T: Hash,
H: Hasher + Default,
F: Filter<u64>,