pub trait SubstrateMessageLane: 'static + Clone + Debug + Send + Sync {
type SourceChain: ChainWithMessages + ChainWithTransactions;
type TargetChain: ChainWithMessages + ChainWithTransactions;
type LaneId: Clone + Copy + Debug + Codec + EncodeLike + Send + Sync + Labeled + TryFrom<Vec<u8>> + Default;
type ReceiveMessagesProofCallBuilder: ReceiveMessagesProofCallBuilder<Self>;
type ReceiveMessagesDeliveryProofCallBuilder: ReceiveMessagesDeliveryProofCallBuilder<Self>;
type SourceBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::SourceChain>>;
type TargetBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::TargetChain>>;
}
Expand description
Substrate -> Substrate messages synchronization pipeline.
Required Associated Types§
sourcetype SourceChain: ChainWithMessages + ChainWithTransactions
type SourceChain: ChainWithMessages + ChainWithTransactions
Messages of this chain are relayed to the TargetChain
.
sourcetype TargetChain: ChainWithMessages + ChainWithTransactions
type TargetChain: ChainWithMessages + ChainWithTransactions
Messages from the SourceChain
are dispatched on this chain.
sourcetype LaneId: Clone + Copy + Debug + Codec + EncodeLike + Send + Sync + Labeled + TryFrom<Vec<u8>> + Default
type LaneId: Clone + Copy + Debug + Codec + EncodeLike + Send + Sync + Labeled + TryFrom<Vec<u8>> + Default
Lane identifier type.
sourcetype ReceiveMessagesProofCallBuilder: ReceiveMessagesProofCallBuilder<Self>
type ReceiveMessagesProofCallBuilder: ReceiveMessagesProofCallBuilder<Self>
How receive messages proof call is built?
sourcetype ReceiveMessagesDeliveryProofCallBuilder: ReceiveMessagesDeliveryProofCallBuilder<Self>
type ReceiveMessagesDeliveryProofCallBuilder: ReceiveMessagesDeliveryProofCallBuilder<Self>
How receive messages delivery proof call is built?
sourcetype SourceBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::SourceChain>>
type SourceBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::SourceChain>>
How batch calls are built at the source chain?
sourcetype TargetBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::TargetChain>>
type TargetBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::TargetChain>>
How batch calls are built at the target chain?
Object Safety§
This trait is not object safe.