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§
Sourcefn get(
&self,
req: DataIdentifierBorrowed<'_>,
attributes_prefix_match: bool,
) -> Option<DataPayload<M>>
fn get( &self, req: DataIdentifierBorrowed<'_>, attributes_prefix_match: bool, ) -> Option<DataPayload<M>>
Get the value for a key
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".