pub trait WeightInfo {
    // Required methods
    fn add_new_gateway() -> Weight;
    fn update_ttl() -> Weight;
    fn purge_gateway() -> Weight;
    fn reboot_self_gateway() -> Weight;
    fn best_available() -> Weight;
}
Expand description

Weight functions needed for pallet_xdns.

Required Methods§

source

fn add_new_gateway() -> Weight

source

fn update_ttl() -> Weight

source

fn purge_gateway() -> Weight

source

fn reboot_self_gateway() -> Weight

source

fn best_available() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn add_new_gateway() -> Weight

source§

fn update_ttl() -> Weight

source§

fn purge_gateway() -> Weight

source§

fn best_available() -> Weight

source§

fn reboot_self_gateway() -> Weight

Implementors§

source§

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