[][src]Trait hash_db::AsPlainDB

pub trait AsPlainDB<K, V> {
    fn as_plain_db(&self) -> &dyn PlainDB<K, V>;
fn as_plain_db_mut<'a>(&'a mut self) -> &'a mut (dyn PlainDB<K, V> + 'a); }

Upcast trait for PlainDB.

Required methods

fn as_plain_db(&self) -> &dyn PlainDB<K, V>

Perform upcast to PlainDB for anything that derives from PlainDB.

fn as_plain_db_mut<'a>(&'a mut self) -> &'a mut (dyn PlainDB<K, V> + 'a)

Perform mutable upcast to PlainDB for anything that derives from PlainDB.

Loading content...

Implementors

impl<'a, K, V> AsPlainDB<K, V> for &'a mut dyn PlainDB<K, V>[src]

Loading content...