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
fn into_tx_env(self) -> TxEnv
Converts self
into [TxEnv
].
Implementations on Foreign Types§
§impl IntoTxEnv<TxEnv> for TxEnv
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.
impl<T> IntoTxEnv<OpTransaction<T>> for OpTransaction<T>where
T: Transaction,
Available on crate feature
op
only.