[][src]Trait trie_db::TrieIterator

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

Loading content...

Implementors

impl<'a, H: Hasher, C: NodeCodec<H>> TrieIterator<H, C> for TrieDBIterator<'a, H, C>[src]

fn seek(&mut self, key: &[u8]) -> Result<(), H::Out, C::Error>[src]

Position the iterator on the first element with key >= key

impl<'db, H, C> TrieIterator<H, C> for FatDBIterator<'db, H, C> where
    H: Hasher,
    C: NodeCodec<H>, 
[src]

Loading content...