pub trait UpwardMessageSender {
fn send_upward_message(msg: UpwardMessage) -> Result<u32, MessageSendError>;
}
Expand description
Something that should be called when sending an upward message.
Required Methods§
sourcefn send_upward_message(msg: UpwardMessage) -> Result<u32, MessageSendError>
fn send_upward_message(msg: UpwardMessage) -> Result<u32, 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.