Trait cumulus_primitives_core::XcmpMessageSource

source ·
pub trait XcmpMessageSource {
    // Required method
    fn take_outbound_messages(maximum_channels: usize) -> Vec<(ParaId, Vec<u8>)>;
}
Expand description

A means of figuring out what outbound XCMP messages should be being sent.

Required Methods§

source

fn take_outbound_messages(maximum_channels: usize) -> Vec<(ParaId, Vec<u8>)>

Take a single XCMP message from the queue for the given dest, if one exists.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl XcmpMessageSource for ()

source§

fn take_outbound_messages(_maximum_channels: usize) -> Vec<(ParaId, Vec<u8>)>

Implementors§