referrerpolicy=no-referrer-when-downgrade
cumulus_primitives_core

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§

impl<T: Config> XcmpMessageSource for Pallet<T>