Struct rusty_leveldb_arc::BloomPolicy
source · pub struct BloomPolicy { /* private fields */ }
Expand description
A filter policy using a bloom filter internally.
Implementations§
source§impl BloomPolicy
impl BloomPolicy
Beware the magic numbers…
sourcepub fn new(bits_per_key: u32) -> BloomPolicy
pub fn new(bits_per_key: u32) -> BloomPolicy
Returns a new boxed BloomPolicy.
Trait Implementations§
source§impl Clone for BloomPolicy
impl Clone for BloomPolicy
source§fn clone(&self) -> BloomPolicy
fn clone(&self) -> BloomPolicy
Returns a copy 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 FilterPolicy for BloomPolicy
impl FilterPolicy for BloomPolicy
Auto Trait Implementations§
impl RefUnwindSafe for BloomPolicy
impl Send for BloomPolicy
impl Sync for BloomPolicy
impl Unpin for BloomPolicy
impl UnwindSafe for BloomPolicy
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