[][src]Trait orml_traits::data_provider::DataProvider

pub trait DataProvider<Key, Value> {
    fn get(key: &Key) -> Option<Value>;
}

A simple trait to provide data

Required methods

fn get(key: &Key) -> Option<Value>

Get data by key

Loading content...

Implementors

Loading content...