referrerpolicy=no-referrer-when-downgrade

Function staging_xcm::v3::validate_send

source ·
pub fn validate_send<T: SendXcm>(
    dest: MultiLocation,
    msg: Xcm<()>,
) -> SendResult<T::Ticket>
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.