referrerpolicy=no-referrer-when-downgrade

Trait AncestryHelperWeightInfo

Source
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§

Source

fn is_proof_optimal(proof: &<Self as AncestryHelper<Header>>::Proof) -> Weight

Weight info for the AncestryHelper::is_proof_optimal() method.

Source

fn extract_validation_context() -> Weight

Weight info for the AncestryHelper::extract_validation_context() method.

Source

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.

Implementors§