[][src]Trait c5store::C5Store

pub trait C5Store {
    fn get(&self, key_path: &str) -> Option<C5DataValue>;
fn get_ref(&self, key_path: &str) -> Option<C5StoreDataValueRef>;
fn exists(&self, key_path: &str) -> bool;
fn subscribe(&self, key_path: &str, listener: Box<ChangeListener>);
fn branch(&self, key_path: &str) -> C5StoreBranch;
fn key_paths_with_prefix(&self, key_path: Option<&str>) -> Vec<Box<str>>;
fn current_key_path(&self) -> &str; }

Required methods

fn get(&self, key_path: &str) -> Option<C5DataValue>

fn get_ref(&self, key_path: &str) -> Option<C5StoreDataValueRef>

fn exists(&self, key_path: &str) -> bool

fn subscribe(&self, key_path: &str, listener: Box<ChangeListener>)

fn branch(&self, key_path: &str) -> C5StoreBranch

fn key_paths_with_prefix(&self, key_path: Option<&str>) -> Vec<Box<str>>

fn current_key_path(&self) -> &str

Loading content...

Implementors

impl C5Store for C5StoreBranch[src]

impl C5Store for C5StoreRoot[src]

Loading content...