pub trait FinalityPipeline:
'static
+ Clone
+ Debug
+ Send
+ Sync {
type Hash: Eq + Clone + Copy + Send + Sync + Debug;
type Number: BlockNumberBase;
type FinalityProof: FinalityProof<Self::Hash, Self::Number>;
const SOURCE_NAME: &'static str;
const TARGET_NAME: &'static str;
}
Expand description
Base finality pipeline.
Required Associated Constants§
Sourceconst SOURCE_NAME: &'static str
const SOURCE_NAME: &'static str
Name of the finality proofs source.
Sourceconst TARGET_NAME: &'static str
const TARGET_NAME: &'static str
Name of the finality proofs target.
Required Associated Types§
Sourcetype Number: BlockNumberBase
type Number: BlockNumberBase
Synced headers are identified by this number.
Sourcetype FinalityProof: FinalityProof<Self::Hash, Self::Number>
type FinalityProof: FinalityProof<Self::Hash, Self::Number>
Finality proof type.
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.