pub trait HasPreimage { // Required method fn preimage(&self, key_hash: KeyHash) -> Result<Option<Vec<u8>>>; }
Defines the ability for a tree to look up the preimage of its key hashes.
Gets the preimage of a key hash, if it is present in the tree.