referrerpolicy=no-referrer-when-downgrade
pub trait BridgeMessageHandler {
    // Required methods
    fn get_source_outbound_messages() -> Vec<BridgeMessage>;
    fn dispatch_target_inbound_message(
        message: BridgeMessage,
    ) -> Result<(), BridgeMessageDispatchError>;
    fn notify_source_message_delivery(lane_id: Vec<u8>);
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl BridgeMessageHandler for ()

Implementors§

source§

impl<S, SI, T, TI> BridgeMessageHandler for BridgeHubMessageHandler<S, SI, T, TI>
where S: BridgeMessagesConfig<SI>, SI: 'static, T: BridgeMessagesConfig<TI>, TI: 'static, <T as BridgeMessagesConfig<TI>>::InboundPayload: From<Vec<u8>>, <T as BridgeMessagesConfig<TI>>::MessageDispatch: MessageDispatch<DispatchLevelResult = XcmBlobMessageDispatchResult>,