Trait tikv::storage::kv::Iterator [−][src]
Required methods
pub fn next(&mut self) -> Result<bool, Error>
[src]
pub fn prev(&mut self) -> Result<bool, Error>
[src]
pub fn seek(&mut self, key: &Key) -> Result<bool, Error>
[src]
pub fn seek_for_prev(&mut self, key: &Key) -> Result<bool, Error>
[src]
pub fn seek_to_first(&mut self) -> Result<bool, Error>
[src]
pub fn seek_to_last(&mut self) -> Result<bool, Error>
[src]
pub fn valid(&self) -> Result<bool, Error>
[src]
pub fn key(&self) -> &[u8]
[src]
Only be called when self.valid() == Ok(true)
.
pub fn value(&self) -> &[u8]
[src]
Only be called when self.valid() == Ok(true)
.
Provided methods
Loading content...Implementations on Foreign Types
impl Iterator for RocksEngineIterator
[src]
pub fn next(&mut self) -> Result<bool, Error>
[src]
pub fn prev(&mut self) -> Result<bool, Error>
[src]
pub fn seek(&mut self, key: &Key) -> Result<bool, Error>
[src]
pub fn seek_for_prev(&mut self, key: &Key) -> Result<bool, Error>
[src]
pub fn seek_to_first(&mut self) -> Result<bool, Error>
[src]
pub fn seek_to_last(&mut self) -> Result<bool, Error>
[src]
pub fn valid(&self) -> Result<bool, Error>
[src]
pub fn key(&self) -> &[u8]
[src]
pub fn value(&self) -> &[u8]
[src]
impl<S> Iterator for RegionIterator<S> where
S: Snapshot,
[src]
S: Snapshot,