Trait xcm_emulator::TestExt
source · pub trait TestExt {
// Required methods
fn build_new_ext(storage: Storage) -> TestExternalities;
fn new_ext() -> TestExternalities;
fn move_ext_out(id: &'static str);
fn move_ext_in(id: &'static str);
fn reset_ext();
fn execute_with<R>(execute: impl FnOnce() -> R) -> R;
fn ext_wrapper<R>(func: impl FnOnce() -> R) -> R;
}
Required Methods§
fn build_new_ext(storage: Storage) -> TestExternalities
fn new_ext() -> TestExternalities
fn move_ext_out(id: &'static str)
fn move_ext_in(id: &'static str)
fn reset_ext()
fn execute_with<R>(execute: impl FnOnce() -> R) -> R
fn ext_wrapper<R>(func: impl FnOnce() -> R) -> R
Object Safety§
This trait is not object safe.