Skip to main content

SingleVersionGet

Trait SingleVersionGet 

Source
pub trait SingleVersionGet: Send + Sync {
    // Required method
    fn get(&self, key: &EncodedKey) -> Result<Option<SingleVersionValues>>;
}
Expand description

Trait for getting values from single-version storage.

Required Methods§

Source

fn get(&self, key: &EncodedKey) -> Result<Option<SingleVersionValues>>

Get the value for a key.

Implementors§