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