Function collectives_westend_integration_tests::v3::prelude::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 mutable references into T::send_xcm
.