pub trait Iterable<'a> {
// Required methods
fn iter(&'a self, options: &ReadOptions) -> Iterator<'a> ⓘ;
fn keys_iter(&'a self, options: &ReadOptions) -> KeyIterator<'a> ⓘ;
fn value_iter(&'a self, options: &ReadOptions) -> ValueIterator<'a> ⓘ;
}Expand description
A trait to allow access to the three main iteration styles of leveldb.
Required Methods§
Sourcefn iter(&'a self, options: &ReadOptions) -> Iterator<'a> ⓘ
fn iter(&'a self, options: &ReadOptions) -> Iterator<'a> ⓘ
Return an Iterator iterating over (Key,Value) pairs
Sourcefn keys_iter(&'a self, options: &ReadOptions) -> KeyIterator<'a> ⓘ
fn keys_iter(&'a self, options: &ReadOptions) -> KeyIterator<'a> ⓘ
Returns an Iterator iterating over Keys only.
Sourcefn value_iter(&'a self, options: &ReadOptions) -> ValueIterator<'a> ⓘ
fn value_iter(&'a self, options: &ReadOptions) -> ValueIterator<'a> ⓘ
Returns an Iterator iterating over Values only.