pub trait WeightInfo {
// Required methods
fn create_pot() -> Weight;
fn remove_pot() -> Weight;
fn update_pot_limits() -> Weight;
fn update_sponsorship_type() -> Weight;
fn register_users(l: u32) -> Weight;
fn remove_users(l: u32) -> Weight;
fn update_users_limits(l: u32) -> Weight;
fn pre_sponsor() -> Weight;
fn post_sponsor() -> Weight;
}
Expand description
Weight functions needed for pallet_sponsorship.
Required Methods§
fn create_pot() -> Weight
fn remove_pot() -> Weight
fn update_pot_limits() -> Weight
fn update_sponsorship_type() -> Weight
fn register_users(l: u32) -> Weight
fn remove_users(l: u32) -> Weight
fn update_users_limits(l: u32) -> Weight
fn pre_sponsor() -> Weight
fn post_sponsor() -> 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.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn register_users(l: u32) -> Weight
fn register_users(l: u32) -> Weight
The range of component l
is [1, 1000]
.
Source§fn remove_users(l: u32) -> Weight
fn remove_users(l: u32) -> Weight
The range of component l
is [1, 1000]
.
Source§fn update_users_limits(l: u32) -> Weight
fn update_users_limits(l: u32) -> Weight
The range of component l
is [1, 1000]
.