pub trait AsHashDB<H: Hasher, T> {
    fn as_hash_db(&self) -> &dyn HashDB<H, T>;
fn as_hash_db_mut<'a>(&'a mut self) -> &'a mut (dyn HashDB<H, T> + 'a); }
Expand description

Upcast trait for HashDB.

Required methods

Perform upcast to HashDB for anything that derives from HashDB.

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

Implementors