pub trait SingleVersionGet: Send + Sync {
// Required method
fn get(&self, key: &EncodedKey) -> Result<Option<SingleVersionRow>>;
}Expand description
Trait for getting values from single-version storage.
Required Methods§
Sourcefn get(&self, key: &EncodedKey) -> Result<Option<SingleVersionRow>>
fn get(&self, key: &EncodedKey) -> Result<Option<SingleVersionRow>>
Get the value for a key.