Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn remove_key(x: u32) -> Weight;
    fn remove_child_key(x: u32) -> Weight;
    fn release_contract_consumer() -> Weight;
}
Expand description

Weight info trait.

Required Methods§

Source

fn remove_key(x: u32) -> Weight

Source

fn remove_child_key(x: u32) -> Weight

Source

fn release_contract_consumer() -> 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.

Implementors§

Source§

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