Struct cask::Cask
[−]
[src]
pub struct Cask { /* fields omitted */ }
Methods
impl Cask
[src]
fn open(path: &str, sync: bool) -> Cask
fn compact_file(&self, file_id: u32)
fn compact(&self)
fn get<K: AsRef<[u8]>>(&self, key: K) -> Option<Vec<u8>>
fn put<K: Into<Vec<u8>>, V: AsRef<[u8]>>(&self, key: K, value: V)
fn delete<K: AsRef<[u8]>>(&self, key: K)
Trait Implementations
impl Clone for Cask
[src]
fn clone(&self) -> Cask
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more