referrerpolicy=no-referrer-when-downgrade
pallet_nis

Trait BenchmarkSetup

Source
pub trait BenchmarkSetup {
    // Required method
    fn create_counterpart_asset();
}
Expand description

Setup the empty genesis state for benchmarking.

Required Methods§

Source

fn create_counterpart_asset()

Create the counterpart asset. Should panic on error.

This is called prior to assuming that a counterpart balance exists.

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.

Implementations on Foreign Types§

Source§

impl BenchmarkSetup for ()

Implementors§