[][src]Trait simplestore::F

pub trait F {
    fn get(&self, table: &str, id: &str) -> Result<String, String>;
fn put(&self, table: &str, id: &str, data: String) -> bool;
fn fetch(&self, table: &str) -> Result<HashMap<String, String>, String>; }

Required methods

fn get(&self, table: &str, id: &str) -> Result<String, String>

fn put(&self, table: &str, id: &str, data: String) -> bool

fn fetch(&self, table: &str) -> Result<HashMap<String, String>, String>

Loading content...

Implementors

impl F for Store[src]

Loading content...