Trait pallet_collator_selection::weights::WeightInfo
source · pub trait WeightInfo {
Show 14 methods
// Required methods
fn set_invulnerables(b: u32) -> Weight;
fn add_invulnerable(i: u32) -> Weight;
fn remove_invulnerable(i: u32) -> Weight;
fn set_desired_candidates() -> Weight;
fn set_candidacy_bond() -> Weight;
fn register_as_candidate() -> Weight;
fn apply_for_candidacy() -> Weight;
fn close_application() -> Weight;
fn approve_application(c: u32) -> Weight;
fn kick_candidate(c: u32) -> Weight;
fn leave_intent(c: u32) -> Weight;
fn withdraw_bond() -> Weight;
fn note_author() -> Weight;
fn new_session(r: u32, c: u32) -> Weight;
}Expand description
Weight info trait.
Required Methods§
fn set_invulnerables(b: u32) -> Weight
fn add_invulnerable(i: u32) -> Weight
fn remove_invulnerable(i: u32) -> Weight
fn set_desired_candidates() -> Weight
fn set_candidacy_bond() -> Weight
fn register_as_candidate() -> Weight
fn apply_for_candidacy() -> Weight
fn close_application() -> Weight
fn approve_application(c: u32) -> Weight
fn kick_candidate(c: u32) -> Weight
fn leave_intent(c: u32) -> Weight
fn withdraw_bond() -> Weight
fn new_session(r: u32, c: u32) -> Weight
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
Weights for tests
source§fn set_invulnerables(b: u32) -> Weight
fn set_invulnerables(b: u32) -> Weight
The range of component b is [1, 48].
source§fn add_invulnerable(i: u32) -> Weight
fn add_invulnerable(i: u32) -> Weight
The range of component i is [1, 47].
source§fn remove_invulnerable(i: u32) -> Weight
fn remove_invulnerable(i: u32) -> Weight
The range of component i is [2, 48].
source§fn approve_application(c: u32) -> Weight
fn approve_application(c: u32) -> Weight
The range of component c is [1, 148].
source§fn kick_candidate(c: u32) -> Weight
fn kick_candidate(c: u32) -> Weight
The range of component c is [6, 148].
source§fn leave_intent(c: u32) -> Weight
fn leave_intent(c: u32) -> Weight
The range of component c is [6, 148].
source§fn new_session(_r: u32, c: u32) -> Weight
fn new_session(_r: u32, c: u32) -> Weight
The range of component r is [1, 148].
The range of component c is [1, 148].