pub struct NoBitmap;Expand description
Useful as type-parameter that implement a no-op bloom-filter.
Trait Implementations§
Source§impl Bloom for NoBitmap
impl Bloom for NoBitmap
Source§fn from_bytes(_buf: &[u8]) -> Result<(Self, usize), Self::Err>
fn from_bytes(_buf: &[u8]) -> Result<(Self, usize), Self::Err>
Deserialize the binary array to bit-map.
type Err = Infallible
Source§fn add_digest32(&mut self, _digest: u32)
fn add_digest32(&mut self, _digest: u32)
Add key into the index.
Source§fn build(&mut self)
fn build(&mut self)
Build keys, added so far via
add_key and add_digest32 into the
bitmap index. Useful for types that support batch building and
immutable bitmap index.impl Eq for NoBitmap
impl StructuralPartialEq for NoBitmap
Auto Trait Implementations§
impl Freeze for NoBitmap
impl RefUnwindSafe for NoBitmap
impl Send for NoBitmap
impl Sync for NoBitmap
impl Unpin for NoBitmap
impl UnwindSafe for NoBitmap
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