Struct rdb::formatter::plain::Plain [-] [+] [src]

pub struct Plain {
    // some fields omitted
}

Methods

impl Plain

fn new() -> Plain

Trait Implementations

impl Formatter for Plain

fn checksum(&mut self, checksum: &[u8])

fn start_database(&mut self, db_number: u32)

fn set(&mut self, key: &[u8], value: &[u8], _expiry: Option<u64>)

fn aux_field(&mut self, key: &[u8], value: &[u8])

fn hash_element(&mut self, key: &[u8], field: &[u8], value: &[u8])

fn set_element(&mut self, key: &[u8], member: &[u8])

fn start_list(&mut self, _key: &[u8], _length: u32, _expiry: Option<u64>, _info: EncodingType)

fn list_element(&mut self, key: &[u8], value: &[u8])

fn start_sorted_set(&mut self, _key: &[u8], _length: u32, _expiry: Option<u64>, _info: EncodingType)

fn sorted_set_element(&mut self, key: &[u8], score: f64, member: &[u8])

fn start_rdb(&mut self)

fn end_rdb(&mut self)

fn end_database(&mut self, db_index: u32)

fn resizedb(&mut self, db_size: u32, expires_size: u32)

fn start_hash(&mut self, key: &[u8], length: u32, expiry: Option<u64>, info: EncodingType)

fn end_hash(&mut self, key: &[u8])

fn start_set(&mut self, key: &[u8], cardinality: u32, expiry: Option<u64>, info: EncodingType)

fn end_set(&mut self, key: &[u8])

fn end_list(&mut self, key: &[u8])

fn end_sorted_set(&mut self, key: &[u8])