[][src]Trait blockchain_traits::KVStoreMut

pub trait KVStoreMut: KVStore {
    fn set(&mut self, key: &[u8], value: &[u8]);
fn remove(&mut self, key: &[u8]); }

Required methods

fn set(&mut self, key: &[u8], value: &[u8])

Sets the data stored in the account under the given key. Overwrites any existing data.

fn remove(&mut self, key: &[u8])

Removes the data stored in the account under the given key.

Loading content...

Implementors

Loading content...