Trait diem_parallel_executor::task::Transaction
source · pub trait Transaction: Clone + Sync + Send + 'static {
type Key: PartialOrd + Send + Sync + Clone + Hash + Eq;
type Value: Send + Sync;
}
Expand description
Trait that defines a transaction that could be parallel executed by the scheduler. Each transaction will write to a key value storage as their side effect.