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