Trait DataStore

Source
pub trait DataStore<M: DataMarker>: Sealed {
    // Required method
    fn get(
        &self,
        req: DataIdentifierBorrowed<'_>,
        attributes_prefix_match: bool,
    ) -> Option<DataPayload<M>>;
}
Expand description

A backing store for baked data

Required Methods§

Source

fn get( &self, req: DataIdentifierBorrowed<'_>, attributes_prefix_match: bool, ) -> Option<DataPayload<M>>

Get the value for a key

Implementors§