pub trait ApplyTransactionAction {
// Required method
fn apply(self, tx: Transaction) -> Result<Transaction>;
}Expand description
A helper trait for applying a TransactionAction to a Transaction.
This is implemented for all TransactionAction types
to allow easy chaining of actions into a transaction context.
Required Methods§
Sourcefn apply(self, tx: Transaction) -> Result<Transaction>
fn apply(self, tx: Transaction) -> Result<Transaction>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".