pub struct Plain { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Formatter for Plain
impl Formatter for Plain
fn string(&mut self, key: &[u8], value: &[u8], _expiry: &Option<u64>)
fn hash( &mut self, key: &[u8], values: &IndexMap<Vec<u8>, Vec<u8>>, _expiry: &Option<u64>, )
fn set(&mut self, key: &[u8], values: &[Vec<u8>], _expiry: &Option<u64>)
fn list(&mut self, key: &[u8], values: &[Vec<u8>], _expiry: &Option<u64>)
fn sorted_set( &mut self, key: &[u8], values: &[(f64, Vec<u8>)], _expiry: &Option<u64>, )
fn checksum(&mut self, checksum: &[u8])
fn start_database(&mut self, db_number: u32)
fn aux_field(&mut self, key: &[u8], value: &[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 format(&mut self, value: &RdbValue) -> Result<()>
Auto Trait Implementations§
impl Freeze for Plain
impl !RefUnwindSafe for Plain
impl !Send for Plain
impl !Sync for Plain
impl Unpin for Plain
impl !UnwindSafe for Plain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more