Skip to main content

PrimaryKeyFilter

Trait PrimaryKeyFilter 

Source
pub trait PrimaryKeyFilter: Send + Sync {
    // Required method
    fn matches(&mut self, pk: &[u8]) -> Result<bool>;
}

Required Methods§

Source

fn matches(&mut self, pk: &[u8]) -> Result<bool>

Returns true if the primary key matches the filter.

Implementors§