pub trait DmpMessageHandler {
    // Required method
    fn handle_dmp_messages(
        iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>,
        max_weight: Weight,
    ) -> Weight;
}
Expand description

Something that should be called when a downward message is received.

Required Methods§

source

fn handle_dmp_messages( iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>, max_weight: Weight, ) -> Weight

Handle some incoming DMP messages (note these are individual XCM messages).

Also, process messages up to some max_weight.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DmpMessageHandler for ()

source§

fn handle_dmp_messages( iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>, _max_weight: Weight, ) -> Weight

Implementors§