pub trait BenchmarkHelper<AssetId, MultiAssetId> {
    // Required methods
    fn asset_id(asset_id: u32) -> AssetId;
    fn multiasset_id(asset_id: u32) -> MultiAssetId;
}
Expand description

Benchmark Helper

Required Methods§

source

fn asset_id(asset_id: u32) -> AssetId

Returns an AssetId from a given integer.

source

fn multiasset_id(asset_id: u32) -> MultiAssetId

Returns a MultiAssetId from a given integer.

Implementations on Foreign Types§

source§

impl<AssetId, MultiAssetId> BenchmarkHelper<AssetId, MultiAssetId> for ()where AssetId: From<u32>, MultiAssetId: From<u32>,

source§

fn asset_id(asset_id: u32) -> AssetId

source§

fn multiasset_id(asset_id: u32) -> MultiAssetId

Implementors§