Trait WeightInfo

Source
pub trait WeightInfo {
    // Required method
    fn associate_address() -> Weight;
}
Expand description

Weight functions needed for pallet_address_associations.

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.

Implementations on Foreign Types§

Source§

impl WeightInfo for ()

Source§

fn associate_address() -> Weight

Storage: Sidechain::GenesisUtxo (r:1 w:0) Proof: Sidechain::GenesisUtxo (max_values: Some(1), max_size: Some(34), added: 529, mode: MaxEncodedLen) Storage: AddressAssociations::AddressAssociations (r:1 w:1) Proof: AddressAssociations::AddressAssociations (max_values: None, max_size: Some(170), added: 2645, mode: MaxEncodedLen)

Implementors§

Source§

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