Trait cfg_traits::data::DataCollection
source · pub trait DataCollection<DataId> {
type Data;
// Required method
fn get(&self, data_id: &DataId) -> Result<Self::Data, DispatchError>;
}
Expand description
Abstration to represent a collection of data in memory