Trait xcm_builder::DescribeLocation
source · pub trait DescribeLocation {
// Required method
fn describe_location(location: &MultiLocation) -> Option<Vec<u8>>;
}
Expand description
Means of converting a location into a stable and unique descriptive identifier.
Required Methods§
sourcefn describe_location(location: &MultiLocation) -> Option<Vec<u8>>
fn describe_location(location: &MultiLocation) -> Option<Vec<u8>>
Create a description of the given location
if possible. No two locations should have the
same descriptor.