Function sp_trie::read_child_trie_value

source ยท
pub fn read_child_trie_value<L: TrieConfiguration, DB>(
    keyspace: &[u8],
    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>>>
where DB: HashDBRef<L::Hash, DBValue>,
Expand description

Read a value from the child trie.