pub trait FromRecoveredPooledTransaction {
// Required method
fn from_recovered_pooled_transaction(
tx: PooledTransactionsElementEcRecovered,
) -> Self;
}
Expand description
A transaction type that can be created from a PooledTransactionsElementEcRecovered
transaction.
This is a conversion trait that’ll ensure transactions received via P2P can be converted to the transaction type that the transaction pool uses.
Required Methods§
sourcefn from_recovered_pooled_transaction(
tx: PooledTransactionsElementEcRecovered,
) -> Self
fn from_recovered_pooled_transaction( tx: PooledTransactionsElementEcRecovered, ) -> Self
Converts to this type from the given PooledTransactionsElementEcRecovered
.
Object Safety§
This trait is not object safe.