Trait snowbridge_core::outbound::SendMessage
source · pub trait SendMessage: SendMessageFeeProvider {
type Ticket: Clone + Encode + Decode;
// Required methods
fn validate(
message: &Message,
) -> Result<(Self::Ticket, Fee<<Self as SendMessageFeeProvider>::Balance>), SendError>;
fn deliver(ticket: Self::Ticket) -> Result<H256, SendError>;
}
Expand description
A trait for sending messages to Ethereum
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.