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§
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.
impl SendToRelay for ()
Available on crate feature
std only.