pub trait SubstrateFinalityPipeline:
'static
+ Clone
+ Debug
+ Send
+ Sync {
type SourceChain: Chain;
type TargetChain: Chain;
type FinalityEngine: Engine<Self::SourceChain>;
}
Expand description
Substrate -> Substrate finality related pipeline.
Required Associated Types§
Sourcetype SourceChain: Chain
type SourceChain: Chain
Headers of this chain are submitted to the TargetChain
.
Sourcetype TargetChain: Chain
type TargetChain: Chain
Headers of the SourceChain
are submitted to this chain.
Sourcetype FinalityEngine: Engine<Self::SourceChain>
type FinalityEngine: Engine<Self::SourceChain>
Finality engine.
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.