Trait triedb::Database[][src]

pub trait Database {
    fn get(&self, key: H256) -> &[u8];
}

An immutable database handle.

Required methods

fn get(&self, key: H256) -> &[u8][src]

Get a raw value from the database.

Loading content...

Implementations on Foreign Types

impl Database for HashMap<H256, Vec<u8>>[src]

Loading content...

Implementors

impl<'a, D: Database> Database for DatabaseTrieMut<'a, D>[src]

impl<D: Borrow<DB>> Database for RocksMemoryTrieMut<D>[src]

Loading content...