Trait patricia_trie::TrieIterator [−][src]
pub trait TrieIterator<H: Hasher, C: NodeCodec<H>>: Iterator { fn seek(
&mut self,
key: &[u8]
) -> Result<(), H::Out, <C as NodeCodec<H>>::Error>; }
A trie iterator that also supports random access (seek()
).
Required Methods
fn seek(&mut self, key: &[u8]) -> Result<(), H::Out, <C as NodeCodec<H>>::Error>
Position the iterator on the first element with key > key
Implementors
impl<'a, H: Hasher, C: NodeCodec<H>> TrieIterator<H, C> for TrieDBIterator<'a, H, C>
impl<'db, H, C> TrieIterator<H, C> for FatDBIterator<'db, H, C> where
H: Hasher,
C: NodeCodec<H>,