Trait trie_db::Query

source ·
pub trait Query<H: Hasher> {
    type Item;

    fn decode(self, data: &[u8]) -> Self::Item;
}
Expand description

Description of what kind of query will be made to the trie.

Required Associated Types§

Output item.

Required Methods§

Decode a byte-slice into the desired item.

Implementors§