WriteConflictDetection

Trait WriteConflictDetection 

Source
pub trait WriteConflictDetection {
    // Required method
    fn has_write_conflict(&self, txn_id: TxnId) -> bool;
}
Expand description

Trait for detecting write conflicts

Required Methods§

Source

fn has_write_conflict(&self, txn_id: TxnId) -> bool

Check if there’s a write-write conflict with another transaction

Implementors§