pub enum Transaction<K, V> {
Write {
actual_writes: Vec<(K, V)>,
skipped_writes: Vec<K>,
reads: Vec<K>,
},
SkipRest,
Abort,
}
Expand description
A naive transaction that could be used to test the correctness and throughput of the system.
Variants§
Write
Fields
SkipRest
Skip the execution of trailing transactions.
Abort
Abort the execution.
Trait Implementations§
source§impl<K: Clone, V: Clone> Clone for Transaction<K, V>
impl<K: Clone, V: Clone> Clone for Transaction<K, V>
source§fn clone(&self) -> Transaction<K, V>
fn clone(&self) -> Transaction<K, V>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more