Trait tikv::storage::mvcc::consistency_check::MvccInfoObserver[][src]

pub trait MvccInfoObserver {
    type Target;
    fn on_new_item(&mut self, key: &[u8]);
fn emit(&mut self) -> Self::Target;
fn on_write(&mut self, key: &[u8], value: &[u8]) -> Result<bool>;
fn on_lock(&mut self, key: &[u8], value: &[u8]) -> Result<bool>;
fn on_default(&mut self, key: &[u8], value: &[u8]) -> Result<bool>; }

Associated Types

type Target[src]

Loading content...

Required methods

fn on_new_item(&mut self, key: &[u8])[src]

fn emit(&mut self) -> Self::Target[src]

fn on_write(&mut self, key: &[u8], value: &[u8]) -> Result<bool>[src]

fn on_lock(&mut self, key: &[u8], value: &[u8]) -> Result<bool>[src]

fn on_default(&mut self, key: &[u8], value: &[u8]) -> Result<bool>[src]

Loading content...

Implementors

impl MvccInfoObserver for MvccChecksum[src]

type Target = ()

impl MvccInfoObserver for MvccInfoCollector[src]

type Target = (Vec<u8>, MvccInfo)

Loading content...