pub trait RegisterCodeSource {
    // Required method
    fn into_code(self, env_data: ScenarioTxEnvData) -> Vec<u8> ;
}
Expand description

Used when registering a contract for debugging.

Any type that implements this trait can be passed to the register_contract method, and to its variants.

Required Methods§

source

fn into_code(self, env_data: ScenarioTxEnvData) -> Vec<u8>

Implementations on Foreign Types§

source§

impl RegisterCodeSource for &str

source§

fn into_code(self, env_data: ScenarioTxEnvData) -> Vec<u8>

Implementors§