Function pallet_xcm::ensure_response
source · pub fn ensure_response<OuterOrigin>(
o: OuterOrigin
) -> Result<MultiLocation, BadOrigin>where
OuterOrigin: Into<Result<Origin, OuterOrigin>>,Expand description
Ensure that the origin o represents an XCM response origin.
Returns Ok with the location of the responder or an Err otherwise.