pub trait WeightInfo {
// Required methods
fn allocate(b: u32) -> Weight;
fn calc_quota() -> Weight;
fn renew_quota() -> Weight;
fn checked_update_session_quota() -> Weight;
fn set_curve_starting_block() -> Weight;
}
Expand description
Weight functions needed for pallet_allocations.
Required Methods§
fn allocate(b: u32) -> Weight
fn calc_quota() -> Weight
fn renew_quota() -> Weight
fn checked_update_session_quota() -> Weight
fn set_curve_starting_block() -> 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.