risingwave_storage::hummock::sstable::bloom

Trait BitSlice

source
pub trait BitSlice {
    // Required methods
    fn get_bit(&self, idx: usize) -> bool;
    fn bit_len(&self) -> usize;
}

Required Methods§

source

fn get_bit(&self, idx: usize) -> bool

source

fn bit_len(&self) -> usize

Implementors§

source§

impl<T: AsRef<[u8]>> BitSlice for T