pub trait OnMessagesDelivered<LaneId> {
// Required method
fn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce);
}
Expand description
Callback that is called at the source chain (bridge hub) when we get delivery confirmation for new messages.
Required Methods§
Sourcefn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce)
fn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce)
New messages delivery has been confirmed.
The only argument of the function is the number of yet undelivered messages
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.