pallet_grants::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn add_vesting_schedule() -> Weight;
    fn claim() -> Weight;
    fn cancel_all_vesting_schedules() -> Weight;
    fn bridge_all_vesting_schedules() -> Weight;
    fn set_bridge() -> Weight;
    fn remove_bridge() -> Weight;
    fn renounce() -> Weight;
}
Expand description

Weight functions needed for pallet_grants.

Required Methods§

Source

fn add_vesting_schedule() -> Weight

Source

fn claim() -> Weight

Source

fn cancel_all_vesting_schedules() -> Weight

Source

fn bridge_all_vesting_schedules() -> Weight

Source

fn set_bridge() -> Weight

Source

fn remove_bridge() -> Weight

Source

fn renounce() -> 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 ()

Implementors§

Source§

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