Trait oasis_core_runtime::storage::KeyValue
source · pub trait KeyValue: Send + Sync {
// Required methods
fn get(&self, key: Vec<u8>) -> Result<Vec<u8>, Error>;
fn insert(&self, key: Vec<u8>, value: Vec<u8>) -> Result<(), Error>;
}
Expand description
Trivial key/value storage.