referrerpolicy=no-referrer-when-downgrade

Trait pallet_asset_rate::AssetKindFactory

source ·
pub trait AssetKindFactory<AssetKind> {
    // Required method
    fn create_asset_kind(seed: u32) -> AssetKind;
}
Expand description

Trait describing the factory function for the AssetKind parameter.

Required Methods§

source

fn create_asset_kind(seed: u32) -> AssetKind

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<AssetKind> AssetKindFactory<AssetKind> for ()
where AssetKind: FromEntropy,

source§

fn create_asset_kind(seed: u32) -> AssetKind

Implementors§