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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.