Trait tikv::storage::txn::commands::CommandExt[][src]

pub trait CommandExt: Display {
    fn tag(&self) -> CommandKind;
fn get_ctx(&self) -> &Context;
fn get_ctx_mut(&mut self) -> &mut Context;
fn incr_cmd_metric(&self);
fn write_bytes(&self) -> usize;
fn gen_lock(&self) -> Lock; fn ts(&self) -> TimeStamp { ... }
fn readonly(&self) -> bool { ... }
fn is_sys_cmd(&self) -> bool { ... }
fn can_be_pipelined(&self) -> bool { ... } }

Required methods

fn tag(&self) -> CommandKind[src]

fn get_ctx(&self) -> &Context[src]

fn get_ctx_mut(&mut self) -> &mut Context[src]

fn incr_cmd_metric(&self)[src]

fn write_bytes(&self) -> usize[src]

fn gen_lock(&self) -> Lock[src]

Loading content...

Provided methods

fn ts(&self) -> TimeStamp[src]

fn readonly(&self) -> bool[src]

fn is_sys_cmd(&self) -> bool[src]

fn can_be_pipelined(&self) -> bool[src]

Loading content...

Implementors

impl CommandExt for AcquirePessimisticLock[src]

impl CommandExt for RawAtomicStore[src]

impl CommandExt for CheckSecondaryLocks[src]

impl CommandExt for CheckTxnStatus[src]

impl CommandExt for Cleanup[src]

impl CommandExt for Commit[src]

impl CommandExt for RawCompareAndSwap[src]

impl CommandExt for MvccByKey[src]

impl CommandExt for MvccByStartTs[src]

impl CommandExt for Pause[src]

impl CommandExt for PessimisticRollback[src]

impl CommandExt for Prewrite[src]

impl CommandExt for PrewritePessimistic[src]

impl CommandExt for ResolveLock[src]

impl CommandExt for ResolveLockLite[src]

impl CommandExt for ResolveLockReadPhase[src]

impl CommandExt for Rollback[src]

impl CommandExt for TxnHeartBeat[src]

Loading content...