pub trait ConversionFromAssetBalance<AssetBalance, AssetId, OutBalance> {
type Error;
// Required method
fn from_asset_balance(
balance: AssetBalance,
asset_id: AssetId,
) -> Result<OutBalance, Self::Error>;
}
Expand description
Converts an asset balance value into balance.
Required Associated Types§
Required Methods§
fn from_asset_balance( balance: AssetBalance, asset_id: AssetId, ) -> Result<OutBalance, Self::Error>
Object Safety§
This trait is not object safe.