pub trait WeightInfoExt: WeightInfo {
// Required method
fn submit_finality_proof_overhead_from_runtime() -> Weight;
// Provided method
fn submit_finality_proof_weight(
precommits_len: u32,
votes_ancestries_len: u32,
) -> Weight { ... }
}
Expand description
Extended weight info.
Required Methods§
Sourcefn submit_finality_proof_overhead_from_runtime() -> Weight
fn submit_finality_proof_overhead_from_runtime() -> Weight
Extra weight that is added to the submit_finality_proof
call weight by signed extensions
that are declared at runtime level.
Provided Methods§
Sourcefn submit_finality_proof_weight(
precommits_len: u32,
votes_ancestries_len: u32,
) -> Weight
fn submit_finality_proof_weight( precommits_len: u32, votes_ancestries_len: u32, ) -> Weight
Weight of message delivery extrinsic.
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.