pub trait TestExt {
// Required methods
fn build_new_ext(storage: Storage) -> TestExternalities<Blake2Hasher>;
fn new_ext() -> TestExternalities<Blake2Hasher>;
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<Blake2Hasher>
fn new_ext() -> TestExternalities<Blake2Hasher>
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.