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§
Sourcetype BoundedTargetChain: ChainWithTransactions<AccountId = Self::BoundedTargetChainAccountId>
type BoundedTargetChain: ChainWithTransactions<AccountId = Self::BoundedTargetChainAccountId>
Bounded SubstrateFinalityPipeline::TargetChain
.
Sourcetype BoundedTargetChainAccountId: From<<AccountKeyPairOf<Self::BoundedTargetChain> as Pair>::Public> + Send
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.