Trait WeightInfo

Source
pub trait WeightInfo: FromConsensusWeightInfo + FromDomainWeightInfo {
    // Required methods
    fn mmr_proof_verification_on_consensus() -> Weight;
    fn mmr_proof_verification_on_domain() -> Weight;
}
Expand description

Weight functions needed for pallet messenger extension.

Required Methods§

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§

Source§

impl<T: Config> WeightInfo for SubstrateWeight<T>