Struct leveldb_rs::DBIterator [] [src]

pub struct DBIterator { /* fields omitted */ }

This structure represents an iterator over the database. Note that since the next() function is bounded by a lifetime, it does not (quite) conform to the Iterator trait. To get this, use the alloc() helper.

Methods

impl DBIterator
[src]

Return the next key/value pair from this iterator.

Return an instance of DBIteratorAlloc, an iterator that implements the Iterator trait, but allocates new Vecs for each item. Note that this consumes the DBIterator instance, so it can't be used again.

Seek to the beginning of the database.

Seek to the end of the database.

Seek to the first key in the database that is at or past the given target key.

Move to the previous item in the database.

Trait Implementations

impl Drop for DBIterator
[src]

A method called when the value goes out of scope. Read more