pub trait WeightInfo {
// Required methods
fn commit() -> Weight;
fn ready() -> Weight;
fn force_shard_offline() -> Weight;
fn timeout_dkgs(b: u32) -> Weight;
}
Expand description
Trait to define the weights for various extrinsics in the pallet.
Required Methods§
fn commit() -> Weight
fn ready() -> Weight
fn force_shard_offline() -> Weight
fn timeout_dkgs(b: u32) -> Weight
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.