pub trait UpwardMessageSender {
// Required method
fn send_upward_message(
msg: UpwardMessage
) -> Result<(u32, XcmHash), MessageSendError>;
}
Expand description
Something that should be called when sending an upward message.
Required Methods§
sourcefn send_upward_message(
msg: UpwardMessage
) -> Result<(u32, XcmHash), MessageSendError>
fn send_upward_message( msg: UpwardMessage ) -> Result<(u32, XcmHash), MessageSendError>
Send the given UMP message; return the expected number of blocks before the message will be dispatched or an error if the message cannot be sent. return the hash of the message sent