Function cumulus_primitives_core::opaque::validate_send
pub fn validate_send<T>(
dest: MultiLocation,
msg: Xcm<()>
) -> Result<(<T as SendXcm>::Ticket, MultiAssets), SendError>where
T: SendXcm,
Expand description
Convenience function for using a SendXcm
implementation. Just interprets the dest
and wraps
both in Some
before passing them as as mutable references into T::send_xcm
.