Docs.rs
  • emulated-integration-tests-common-10.0.0
    • emulated-integration-tests-common 10.0.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • parity-crate-owner
    • Dependencies
      • asset-test-utils ^14.0.0 normal
      • bp-messages ^0.14.0 normal
      • bridge-runtime-common ^0.14.0 normal
      • parity-scale-codec ^3.6.12 normal
      • cumulus-pallet-parachain-system ^0.14.0 normal
      • cumulus-pallet-xcmp-queue ^0.14.0 normal
      • cumulus-primitives-core ^0.14.0 normal
      • frame-support ^35.0.0 normal
      • pallet-assets ^36.0.0 normal
      • pallet-balances ^36.0.0 normal
      • pallet-bridge-messages ^0.14.0 normal
      • pallet-message-queue ^38.0.0 normal
      • pallet-xcm ^14.0.0 normal
      • parachains-common ^14.0.0 normal
      • paste ^1.0.14 normal
      • polkadot-parachain-primitives ^13.0.0 normal
      • polkadot-primitives ^14.0.0 normal
      • polkadot-runtime-parachains ^14.0.0 normal
      • sc-consensus-grandpa ^0.26.0 normal
      • sp-authority-discovery ^33.0.0 normal
      • sp-consensus-babe ^0.39.0 normal
      • sp-consensus-beefy ^20.0.0 normal
      • sp-core ^34.0.0 normal
      • sp-runtime ^38.0.0 normal
      • staging-xcm ^14.0.0 normal
      • xcm-emulator ^0.12.0 normal
    • Versions
    • 16.07% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

emulated_integration_tests_common10.0.0

BridgeMessageHandler

Required Methods

  • dispatch_target_inbound_message
  • get_source_outbound_messages
  • notify_source_message_delivery

Implementations on Foreign Types

  • ()

Object Safety

Implementors

In emulated_integration_tests_common::impls

Trait emulated_integration_tests_common::impls::BridgeMessageHandler

source ·
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: u32);
}

Required Methods§

source

fn get_source_outbound_messages() -> Vec<BridgeMessage>

source

fn dispatch_target_inbound_message( message: BridgeMessage, ) -> Result<(), BridgeMessageDispatchError>

source

fn notify_source_message_delivery(lane_id: u32)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BridgeMessageHandler for ()

source§

fn get_source_outbound_messages() -> Vec<BridgeMessage>

source§

fn dispatch_target_inbound_message( _message: BridgeMessage, ) -> Result<(), BridgeMessageDispatchError>

source§

fn notify_source_message_delivery(_lane_id: u32)

Implementors§

source§

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