Struct rdb::filter::Simple [-] [+] [src]

pub struct Simple {
    // some fields omitted
}

Methods

impl Simple

fn new() -> Simple

fn add_database(&mut self, db: u32)

fn add_type(&mut self, typ: Type)

fn add_keys(&mut self, re: Regex)

Trait Implementations

impl Filter for Simple

fn matches_db(&self, db: u32) -> bool

fn matches_type(&self, enc_type: u8) -> bool

fn matches_key(&self, key: &[u8]) -> bool