Trait jmt::storage::HasPreimage
source · pub trait HasPreimage {
// Required method
fn preimage(&self, key_hash: KeyHash) -> Result<Option<Vec<u8>>>;
}
Expand description
Defines the ability for a tree to look up the preimage of its key hashes.