Trait hash_db::AsPlainDB[][src]

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>[src]

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)[src]

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...