Struct trie_db::triedb::SuspendedTrieDBKeyIterator
source · pub struct SuspendedTrieDBKeyIterator<L: TrieLayout> { /* private fields */ }
Expand description
When there is guaranties the storage backend do not change, this can be use to suspend and restore the iterator.
Implementations§
source§impl<L: TrieLayout> SuspendedTrieDBKeyIterator<L>
impl<L: TrieLayout> SuspendedTrieDBKeyIterator<L>
sourcepub fn unsafe_restore<'a, 'cache>(
self,
db: &'a TrieDB<'a, 'cache, L>
) -> TrieDBKeyIterator<'a, 'cache, L> ⓘ
pub fn unsafe_restore<'a, 'cache>(
self,
db: &'a TrieDB<'a, 'cache, L>
) -> TrieDBKeyIterator<'a, 'cache, L> ⓘ
Restore iterator.