pub fn ensure_xcm<OuterOrigin>(o: OuterOrigin) -> Result<Location, BadOrigin>where OuterOrigin: Into<Result<Origin, OuterOrigin>>,
Ensure that the origin o represents an XCM (Transact) origin.
o
Transact
Returns Ok with the location of the XCM sender or an Err otherwise.
Ok
Err