Function xcm_builder::test_utils::opaque::validate_send
source · 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
.