Trait xcm_executor::traits::ConvertLocation
source · pub trait ConvertLocation<AccountId> {
// Required method
fn convert_location(location: &MultiLocation) -> Option<AccountId>;
}
Expand description
Means of converting a location into an account identifier.
Required Methods§
sourcefn convert_location(location: &MultiLocation) -> Option<AccountId>
fn convert_location(location: &MultiLocation) -> Option<AccountId>
Convert the location
into Some
account ID, or None
if not possible.