referrerpolicy=no-referrer-when-downgrade

SendToRelay

Trait SendToRelay 

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

Used to send an XCM Transact to pallet-hrmp-relay on the relay chain.

Required Methods§

Source

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

Send message to the relay chain.

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

Available on crate feature std only.
Source§

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

Implementors§