Struct leveldb::database::iterator::ValueIterator [-] [+] [src]

pub struct ValueIterator<'a, K: Key + 'a> {
    // some fields omitted

An iterator over the leveldb keyspace.

Returns just the value.


impl<'a, K: Key> ValueIterator<'a, K>

fn last(self) -> Option<Vec<u8>>

return the last element of the iterator

Trait Implementations

impl<'a, K: Key> LevelDBIterator<K> for ValueIterator<'a, K>

fn raw_iterator(&self) -> *mut leveldb_iterator_t

fn start(&self) -> bool

fn started(&mut self)

fn valid(&self) -> bool

fn advance(&mut self) -> bool

fn key(&self) -> K

fn value(&self) -> Vec<u8>

impl<'a, K: Key> LevelDBIteratorExt<K> for ValueIterator<'a, K>

fn seek_to_first(&self)

fn seek_to_last(&self)

fn seek(&self, key: K)

impl<'a, K: Key> Iterator for ValueIterator<'a, K>

type Item = Vec<u8>

fn next(&mut self) -> Option<Vec<u8>>

fn size_hint(&self) -> (usize, Option<usize>)