referrerpolicy=no-referrer-when-downgrade
relay_substrate_client

Trait ChainWithMessages

Source
pub trait ChainWithMessages: Chain + ChainWithMessagesBase {
    const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str;
    const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str;
}
Expand description

Substrate-based chain with messaging support from minimal relay-client point of view.

Required Associated Constants§

Source

const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str

Name of the To<ChainWithMessages>OutboundLaneApi::message_details runtime API method. The method is provided by the runtime that is bridged with this ChainWithMessages.

Source

const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str

Name of the From<ChainWithMessages>InboundLaneApi::message_details runtime API method. The method is provided by the runtime that is bridged with this ChainWithMessages.

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.

Implementors§

Source§

impl ChainWithMessages for TestChain

Source§

const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str = "TestMessagesDetailsMethod"

Source§

const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str = "TestFromMessagesDetailsMethod"