pub trait TryIntoTxEnv<T, BlockEnv = BlockEnv> {
type Err;
// Required method
fn try_into_tx_env<Spec>(
self,
cfg_env: &CfgEnv<Spec>,
block_env: &BlockEnv,
) -> Result<T, Self::Err>;
}Expand description
Converts self into T.
Should create an executable transaction environment using TransactionRequest.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.