pub trait AncestryHelperWeightInfo<Header: HeaderT>: AncestryHelper<Header> {
// Required methods
fn is_proof_optimal(
proof: &<Self as AncestryHelper<Header>>::Proof,
) -> Weight;
fn extract_validation_context() -> Weight;
fn is_non_canonical(
proof: &<Self as AncestryHelper<Header>>::Proof,
) -> Weight;
}
Expand description
Weight information for the logic in AncestryHelper
.
Required Methods§
Sourcefn is_proof_optimal(proof: &<Self as AncestryHelper<Header>>::Proof) -> Weight
fn is_proof_optimal(proof: &<Self as AncestryHelper<Header>>::Proof) -> Weight
Weight info for the AncestryHelper::is_proof_optimal()
method.
Sourcefn extract_validation_context() -> Weight
fn extract_validation_context() -> Weight
Weight info for the AncestryHelper::extract_validation_context()
method.
Sourcefn is_non_canonical(proof: &<Self as AncestryHelper<Header>>::Proof) -> Weight
fn is_non_canonical(proof: &<Self as AncestryHelper<Header>>::Proof) -> Weight
Weight info for the AncestryHelper::is_non_canonical()
method.
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.