pub type PoolIdToAccountId = AccountIdConverter<AssetConversionPalletId, (Location, Location)>;
Aliased Type§
struct PoolIdToAccountId(/* private fields */);
Trait Implementations
Source§impl<Seed, PoolId, AccountId> TryConvert<&PoolId, AccountId> for AccountIdConverter<Seed, PoolId>where
PoolId: Encode,
AccountId: Decode,
Seed: Get<PalletId>,
impl<Seed, PoolId, AccountId> TryConvert<&PoolId, AccountId> for AccountIdConverter<Seed, PoolId>where
PoolId: Encode,
AccountId: Decode,
Seed: Get<PalletId>,
Source§fn try_convert(id: &PoolId) -> Result<AccountId, &PoolId>
fn try_convert(id: &PoolId) -> Result<AccountId, &PoolId>
Attempt to make conversion. If returning Result::Err, the inner must always be
a
.