Struct lmdb_rs::core::CursorKeyRangeIter [] [src]

pub struct CursorKeyRangeIter<'a> {
    // some fields omitted
}

Methods

impl<'a> CursorKeyRangeIter<'a>
[src]

fn new<K: ToMdbValue + 'a>(start_key: &'a K, end_key: &'a K, end_inclusive: bool) -> CursorKeyRangeIter<'a>

Trait Implementations

impl<'iter> IterateCursor for CursorKeyRangeIter<'iter>
[src]

fn init_cursor<'a, 'b: 'a>(&'a self, cursor: &mut Cursor<'b>) -> bool

Returns true if initialization successful, for example that the key exists. Read more

fn move_to_next<'i, 'c: 'i>(&'i self, cursor: &'c mut Cursor<'c>) -> bool

Returns true if there is still data and iterator is in correct range

fn get_size_hint(&self, _cursor: &Cursor) -> (usize, Option<usize>)

Returns size hint considering current state of cursor