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§

source

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

Implementations on Foreign Types§

source§

impl UpwardMessageSender for ()

Implementors§