Function sp_trie::read_trie_value_with
source ยท pub fn read_trie_value_with<L: TrieLayout, Q: Query<L::Hash, Item = Vec<u8>>, DB: HashDBRef<L::Hash, DBValue>>(
db: &DB,
root: &TrieHash<L>,
key: &[u8],
query: Q,
) -> Result<Option<Vec<u8>>, Box<TrieError<L>>>
Expand description
Read a value from the trie with given Query.