Trait tikv::storage::txn::store::TxnEntryScanner[][src]

pub trait TxnEntryScanner: Send {
    fn next_entry(&mut self) -> Result<Option<TxnEntry>>;
fn take_statistics(&mut self) -> Statistics; fn scan_entries(&mut self, batch: &mut EntryBatch) -> Result<()> { ... } }

TxnEntryScanner allows retrieving items or batches from a scan result.

Commonly they are obtained as a result of a entry_scanner operation.

Required methods

fn next_entry(&mut self) -> Result<Option<TxnEntry>>[src]

fn take_statistics(&mut self) -> Statistics[src]

Take statistics.

Loading content...

Provided methods

fn scan_entries(&mut self, batch: &mut EntryBatch) -> Result<()>[src]

Loading content...

Implementors

impl<S, P> TxnEntryScanner for ForwardScanner<S, P> where
    S: Snapshot,
    P: ScanPolicy<S, Output = TxnEntry> + Send
[src]

Loading content...