[][src]Trait cosmwasm::storage::Storage

pub trait Storage {
    fn get(&self, key: &[u8]) -> Option<Vec<u8>>;
fn set(&mut self, key: &[u8], value: &[u8]); }

Required methods

fn get(&self, key: &[u8]) -> Option<Vec<u8>>

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

Loading content...

Implementors

impl Storage for MockStorage[src]

Loading content...