Struct rdb::formatter::protocol::Protocol
[-] [+]
[src]
pub struct Protocol {
// some fields omitted
}pub struct Protocol {
// some fields omitted
}impl Protocolimpl Formatter for Protocolfn 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])
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).