Skip to main content

IntoTxEnv

Trait IntoTxEnv 

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

Converts transaction wrappers into the configured transaction environment.

Required Methods§

Source

fn into_tx_env(self) -> TxEnv

Converts this transaction wrapper into the configured transaction environment.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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

Source§

impl<T, TxEnv> IntoTxEnv<TxEnv> for WithEncoded<Recovered<T>>
where TxEnv: FromTxWithEncoded<T>,