pub struct ZoneMapBuilder { /* private fields */ }Expand description
Builder for constructing zone map entries from data.
Implementations§
Source§impl ZoneMapBuilder
impl ZoneMapBuilder
Sourcepub fn with_bloom_filter(
expected_items: usize,
false_positive_rate: f64,
) -> Self
pub fn with_bloom_filter( expected_items: usize, false_positive_rate: f64, ) -> Self
Creates a builder with Bloom filter support.
Sourcepub fn build(self) -> ZoneMapEntry
pub fn build(self) -> ZoneMapEntry
Builds the zone map entry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZoneMapBuilder
impl RefUnwindSafe for ZoneMapBuilder
impl Send for ZoneMapBuilder
impl Sync for ZoneMapBuilder
impl Unpin for ZoneMapBuilder
impl UnwindSafe for ZoneMapBuilder
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