Function sp_trie::read_trie_value
source · pub fn read_trie_value<L: TrieLayout, DB: HashDBRef<L::Hash, DBValue>>(
db: &DB,
root: &TrieHash<L>,
key: &[u8],
recorder: Option<&mut dyn TrieRecorder<TrieHash<L>>>,
cache: Option<&mut dyn TrieCache<L::Codec>>
) -> Result<Option<Vec<u8>>, Box<TrieError<L>>>
Expand description
Read a value from the trie.