Trait abci_storage::AbciStorage[][src]

pub trait AbciStorage {
    fn write(
        &mut self,
        key: Vec<u8>,
        data: Vec<u8>
    ) -> Result<(), Box<dyn Error>>;
fn get(&mut self, key: Vec<u8>) -> Result<Option<Vec<u8>>, Box<dyn Error>>; }

Required methods

fn write(&mut self, key: Vec<u8>, data: Vec<u8>) -> Result<(), Box<dyn Error>>[src]

fn get(&mut self, key: Vec<u8>) -> Result<Option<Vec<u8>>, Box<dyn Error>>[src]

Loading content...

Implementors

impl AbciStorage for AbciStorageRocksdb[src]

impl AbciStorage for MockAbciStorage[src]

Loading content...