referrerpolicy=no-referrer-when-downgrade

SendToPara

Trait SendToPara 

Source
pub trait SendToPara {
    // Required method
    fn send(message: MessageToPara) -> Result<(), ()>;
}
Expand description

Used to send an XCM Transact to pallet-hrmp-para on the chain that holds the deposits.

Required Methods§

Source

fn send(message: MessageToPara) -> Result<(), ()>

Send message to the parachain.

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 SendToPara for ()

Available on crate feature std only.
Source§

fn send(_message: MessageToPara) -> Result<(), ()>

Implementors§