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