referrerpolicy=no-referrer-when-downgrade

Trait cumulus_primitives_core::DmpMessageHandler

pub trait DmpMessageHandler {
    // Required method
    fn handle_dmp_messages(
        iter: impl Iterator<Item = (u32, Vec<u8>)>,
        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>)>, 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§

§

impl DmpMessageHandler for ()

§

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

Implementors§