|
|
@ -275,8 +275,6 @@ impl<'a> DBRawIterator<'a> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// Seeks to the next key.
|
|
|
|
/// Seeks to the next key.
|
|
|
|
///
|
|
|
|
|
|
|
|
/// Returns true if the iterator is valid after this operation.
|
|
|
|
|
|
|
|
pub fn next(&mut self) { |
|
|
|
pub fn next(&mut self) { |
|
|
|
unsafe { |
|
|
|
unsafe { |
|
|
|
ffi::rocksdb_iter_next(self.inner); |
|
|
|
ffi::rocksdb_iter_next(self.inner); |
|
|
@ -284,8 +282,6 @@ impl<'a> DBRawIterator<'a> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// Seeks to the previous key.
|
|
|
|
/// Seeks to the previous key.
|
|
|
|
///
|
|
|
|
|
|
|
|
/// Returns true if the iterator is valid after this operation.
|
|
|
|
|
|
|
|
pub fn prev(&mut self) { |
|
|
|
pub fn prev(&mut self) { |
|
|
|
unsafe { |
|
|
|
unsafe { |
|
|
|
ffi::rocksdb_iter_prev(self.inner); |
|
|
|
ffi::rocksdb_iter_prev(self.inner); |
|
|
|