referrerpolicy=no-referrer-when-downgrade
substrate_relay_helper::finality

Trait BaseSubstrateFinalitySyncPipeline

Source
pub trait BaseSubstrateFinalitySyncPipeline: SubstrateFinalityPipeline<TargetChain = Self::BoundedTargetChain> {
    type BoundedTargetChain: ChainWithTransactions<AccountId = Self::BoundedTargetChainAccountId>;
    type BoundedTargetChainAccountId: From<<AccountKeyPairOf<Self::BoundedTargetChain> as Pair>::Public> + Send;
}
Expand description

Convenience trait that adds bounds to SubstrateFinalitySyncPipeline.

Required Associated Types§

Source

type BoundedTargetChain: ChainWithTransactions<AccountId = Self::BoundedTargetChainAccountId>

Bounded SubstrateFinalityPipeline::TargetChain.

Source

type BoundedTargetChainAccountId: From<<AccountKeyPairOf<Self::BoundedTargetChain> as Pair>::Public> + Send

Bounded AccountIdOf<SubstrateFinalityPipeline::TargetChain>.

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<T> BaseSubstrateFinalitySyncPipeline for T
where T: SubstrateFinalityPipeline, T::TargetChain: ChainWithTransactions, AccountIdOf<T::TargetChain>: From<<AccountKeyPairOf<Self::TargetChain> as Pair>::Public>,