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

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

Required Methods§

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

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

Also, process messages up to some max_weight.

Implementations on Foreign Types§

§

impl DmpMessageHandler for ()

§

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

Implementors§