Struct kyotocabinet::DB [] [src]

pub struct DB {
    // some fields omitted
}

Methods

impl DB
[src]

fn open(path: &str, mode: u32) -> Result<DBKCError>

fn set_bytes(&mut self, key: &str, value: &[u8]) -> bool

fn set(&mut self, key: &str, value: &str) -> bool

fn get_bytes(&mut self, key: &str) -> Option<Vec<u8>>

fn get(&mut self, key: &str) -> Option<String>

Trait Implementations

impl Drop for DB
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more