[][src]Trait leveldb::database::iterator::LevelDBIterator

pub trait LevelDBIterator<'a, K: Key> {
    fn raw_iterator(&self) -> *mut leveldb_iterator_t;
fn start(&self) -> bool;
fn started(&mut self);
fn from(self, key: &'a K) -> Self;
fn to(self, key: &'a K) -> Self;
fn from_key(&self) -> Option<&K>;
fn to_key(&self) -> Option<&K>; fn valid(&self) -> bool { ... }
fn advance(&mut self) -> bool { ... }
fn key(&self) -> K { ... }
fn value(&self) -> Vec<u8> { ... }
fn seek_to_first(&self) { ... }
fn seek_to_last(&self) { ... }
fn seek(&self, key: &K) { ... } }

Required methods

fn raw_iterator(&self) -> *mut leveldb_iterator_t

fn start(&self) -> bool

fn started(&mut self)

fn from(self, key: &'a K) -> Self

fn to(self, key: &'a K) -> Self

fn from_key(&self) -> Option<&K>

fn to_key(&self) -> Option<&K>

Loading content...

Provided methods

fn valid(&self) -> bool

fn advance(&mut self) -> bool

fn key(&self) -> K

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

fn seek_to_first(&self)

fn seek_to_last(&self)

fn seek(&self, key: &K)

Loading content...

Implementors

impl<'a, K: Key> LevelDBIterator<'a, K> for Iterator<'a, K>[src]

impl<'a, K: Key> LevelDBIterator<'a, K> for KeyIterator<'a, K>[src]

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

Loading content...