Trait pallet_membership::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn add_member(m: u32) -> Weight;
fn remove_member(m: u32) -> Weight;
fn swap_member(m: u32) -> Weight;
fn reset_member(m: u32) -> Weight;
fn change_key(m: u32) -> Weight;
fn set_prime(m: u32) -> Weight;
fn clear_prime(m: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_membership.
Required Methods§
fn add_member(m: u32) -> Weight
fn remove_member(m: u32) -> Weight
fn swap_member(m: u32) -> Weight
fn reset_member(m: u32) -> Weight
fn change_key(m: u32) -> Weight
fn set_prime(m: u32) -> Weight
fn clear_prime(m: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn add_member(m: u32) -> Weight
fn add_member(m: u32) -> Weight
The range of component m
is [1, 99]
.
source§fn remove_member(m: u32) -> Weight
fn remove_member(m: u32) -> Weight
The range of component m
is [2, 100]
.
source§fn swap_member(m: u32) -> Weight
fn swap_member(m: u32) -> Weight
The range of component m
is [2, 100]
.
source§fn reset_member(m: u32) -> Weight
fn reset_member(m: u32) -> Weight
The range of component m
is [1, 100]
.
source§fn change_key(m: u32) -> Weight
fn change_key(m: u32) -> Weight
The range of component m
is [1, 100]
.
source§fn clear_prime(m: u32) -> Weight
fn clear_prime(m: u32) -> Weight
The range of component m
is [1, 100]
.