Trait F
simplestore
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>; }
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>
impl F for Store