pub struct BloomConfig {
pub expected_items: usize,
pub fp_rate: f64,
}Expand description
Bloom filter configuration for different levels
Fields§
§expected_items: usize§fp_rate: f64Trait Implementations§
Source§impl Clone for BloomConfig
impl Clone for BloomConfig
Source§fn clone(&self) -> BloomConfig
fn clone(&self) -> BloomConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BloomConfig
impl Debug for BloomConfig
Auto Trait Implementations§
impl Freeze for BloomConfig
impl RefUnwindSafe for BloomConfig
impl Send for BloomConfig
impl Sync for BloomConfig
impl Unpin for BloomConfig
impl UnwindSafe for BloomConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more