pub trait TransactionOutput: Send + Sync {
type T: Transaction;
// Required methods
fn get_writes(
&self
) -> Vec<(<Self::T as Transaction>::Key, <Self::T as Transaction>::Value)> ⓘ;
fn skip_output() -> Self;
}
Expand description
Trait for execution result of a transaction.
Required Associated Types§
sourcetype T: Transaction
type T: Transaction
Type of transaction and its associated key and value.
Required Methods§
sourcefn get_writes(
&self
) -> Vec<(<Self::T as Transaction>::Key, <Self::T as Transaction>::Value)> ⓘ
fn get_writes( &self ) -> Vec<(<Self::T as Transaction>::Key, <Self::T as Transaction>::Value)> ⓘ
Get the side effect of a transaction from its output.
sourcefn skip_output() -> Self
fn skip_output() -> Self
Execution output for transactions that comes after SkipRest signal.