Struct rdb::formatter::json::JSON [-] [+] [src]

pub struct JSON {
    // some fields omitted
}

Methods

impl JSON

fn new() -> JSON

Trait Implementations

impl Formatter for JSON

fn start_rdb(&mut self)

fn end_rdb(&mut self)

fn start_database(&mut self, _db_number: u32)

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

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

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

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

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

fn end_set(&mut self, _key: &[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 end_list(&mut self, _key: &[u8])

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 end_sorted_set(&mut self, _key: &[u8])

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

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

fn end_database(&mut self, db_index: u32)

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

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