referrerpolicy=no-referrer-when-downgrade

Function staging_xcm::v5::validate_send

source ·
pub fn validate_send<T: SendXcm>(
    dest: Location,
    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 mutable references into T::send_xcm.