pub trait BenchmarkHelper<AssetId> {
// Required methods
fn staked_asset() -> AssetId;
fn reward_asset() -> AssetId;
}
Expand description
Benchmark Helper
Required Methods§
Sourcefn staked_asset() -> AssetId
fn staked_asset() -> AssetId
Returns the staked asset id.
If the asset does not exist, it will be created by the benchmark.
Sourcefn reward_asset() -> AssetId
fn reward_asset() -> AssetId
Returns the reward asset id.
If the asset does not exist, it will be created by the benchmark.
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.