multiversx_sc_scenario::imports

Trait TxEnvMockDeployAddress

Source
pub trait TxEnvMockDeployAddress: TxEnv {
    // Required method
    fn mock_deploy_new_address<From, NA>(
        &mut self,
        from: &From,
        new_address: NA,
    )
       where From: TxFromSpecified<Self>,
             NA: AnnotatedValue<Self, ManagedAddress<Self::Api>>;
}

Required Methods§

Source

fn mock_deploy_new_address<From, NA>(&mut self, from: &From, new_address: NA)
where From: TxFromSpecified<Self>, NA: AnnotatedValue<Self, ManagedAddress<Self::Api>>,

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.

Implementors§