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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§