Struct trie_db::Lookup [−][src]
pub struct Lookup<'a, L: TrieLayout, Q: Query<L::Hash>> { pub db: &'a dyn HashDBRef<L::Hash, DBValue>, pub query: Q, pub hash: TrieHash<L>, }
Expand description
Trie lookup helper object.
Fields
db: &'a dyn HashDBRef<L::Hash, DBValue>
database to query from.
query: Q
Query object to record nodes and transform data.
hash: TrieHash<L>
Hash to start at
Implementations
Auto Trait Implementations
impl<'a, L, Q> !RefUnwindSafe for Lookup<'a, L, Q>
impl<'a, L, Q> Unpin for Lookup<'a, L, Q> where
Q: Unpin,
<<L as TrieLayout>::Hash as Hasher>::Out: Unpin,
impl<'a, L, Q> !UnwindSafe for Lookup<'a, L, Q>