Type Alias moonbeam_runtime::xcm_config::LocalOriginToLocation

source ·
pub type LocalOriginToLocation = SignedToAccountId20<RuntimeOrigin, AccountId, RelayNetwork>;

Aliased Type§

struct LocalOriginToLocation(/* private fields */);

Trait Implementations

source§

impl<Origin, AccountId, Network> TryConvert<Origin, Location> for SignedToAccountId20<Origin, AccountId, Network>
where Origin: OriginTrait + Clone, AccountId: Into<[u8; 20]>, Network: Get<NetworkId>, <Origin as OriginTrait>::PalletsOrigin: From<RawOrigin<AccountId>> + TryInto<RawOrigin<AccountId>, Error = <Origin as OriginTrait>::PalletsOrigin>,

source§

fn try_convert(o: Origin) -> Result<Location, Origin>

Attempt to make conversion. If returning Result::Err, the inner must always be a.