Trait IntoTxEnv

pub trait IntoTxEnv<TxEnv> {
    // Required method
    fn into_tx_env(self) -> TxEnv;
}
Available on crate feature evm only.
Expand description

Trait marking types that can be converted into a transaction environment.

Required Methods§

fn into_tx_env(self) -> TxEnv

Converts self into [TxEnv].

Implementations on Foreign Types§

§

impl IntoTxEnv<TxEnv> for TxEnv

§

fn into_tx_env(self) -> TxEnv

§

impl<T> IntoTxEnv<OpTransaction<T>> for OpTransaction<T>
where T: Transaction,

Available on crate feature op only.
§

fn into_tx_env(self) -> OpTransaction<T>

Implementors§

§

impl<T, TxEnv> IntoTxEnv<TxEnv> for &Recovered<T>
where TxEnv: FromRecoveredTx<T>,

§

impl<T, TxEnv> IntoTxEnv<TxEnv> for Recovered<T>
where TxEnv: FromRecoveredTx<T>,