[−][src]Struct rusty_leveldb::DBIterator
DBIterator is an iterator over the contents of a database.
Methods
impl DBIterator
[src]
pub fn new(
cmp: Rc<Box<dyn Cmp>>,
vset: Rc<RefCell<VersionSet>>,
iter: MergingIter,
ss: Snapshot
) -> DBIterator
[src]
cmp: Rc<Box<dyn Cmp>>,
vset: Rc<RefCell<VersionSet>>,
iter: MergingIter,
ss: Snapshot
) -> DBIterator
Trait Implementations
impl LdbIterator for DBIterator
[src]
fn advance(&mut self) -> bool
[src]
fn current(&self, key: &mut Vec<u8>, val: &mut Vec<u8>) -> bool
[src]
fn prev(&mut self) -> bool
[src]
fn valid(&self) -> bool
[src]
fn seek(&mut self, to: &[u8])
[src]
fn seek_to_first(&mut self)
[src]
fn reset(&mut self)
[src]
fn next(&mut self) -> Option<(Vec<u8>, Vec<u8>)>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DBIterator
impl !Send for DBIterator
impl !Sync for DBIterator
impl Unpin for DBIterator
impl !UnwindSafe for DBIterator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,