Function staging_xcm_builder::ensure_is_remote
source · pub fn ensure_is_remote(
universal_local: impl Into<InteriorLocation>,
dest: impl Into<Location>,
) -> Result<(NetworkId, InteriorLocation), Location>
Expand description
Returns the network ID and consensus location within that network of the remote
location dest
which is itself specified as a location relative to the local
chain, itself situated at universal_local
within the consensus universe. If
dest
is not a location in remote consensus, then an error is returned.