Skip to main content

IntoTxEnv

Trait IntoTxEnv 

Source
pub trait IntoTxEnv<TxEnv> {
    // Required method
    fn into_tx_env(self) -> TxEnv;
}
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".

Implementations on Foreign Types§

Source§

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

Source§

fn into_tx_env(self) -> TxEnv

Source§

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

Source§

fn into_tx_env(self) -> TxEnv

Implementors§