pub trait Store {
// Required methods
fn get(&self, key: &[u8], args: &BTreeMap<&str, Tree>) -> Option<Tree>;
fn set(&self, key: &[u8], args: &BTreeMap<&str, Tree>) -> Option<SetOutcome>;
fn delete(&self, key: &[u8], args: &BTreeMap<&str, Tree>) -> bool;
}Expand description
A store provides addressed access to values.