Trait DataProvider
orml_traits::data_provider
pub trait DataProvider<Key, Value> { fn get(key: &Key) -> Option<Value>; }
A simple trait to provide data
fn get(key: &Key) -> Option<Value>
Get data by key