Trait xcm_primitives::AssetTypeGetter
source · pub trait AssetTypeGetter<AssetId, AssetType> {
// Required methods
fn get_asset_type(asset_id: AssetId) -> Option<AssetType>;
fn get_asset_id(asset_type: AssetType) -> Option<AssetId>;
}
Expand description
Defines the trait to obtain a generic AssetType from a generic AssetId and vice versa
Required Methods§
fn get_asset_type(asset_id: AssetId) -> Option<AssetType>
fn get_asset_id(asset_type: AssetType) -> Option<AssetId>
Object Safety§
This trait is not object safe.