pallet_reserve::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn tip() -> Weight;
    fn spend() -> Weight;
}
Expand description

Weight functions needed for pallet_reserve.

Required Methods§

Source

fn tip() -> Weight

Source

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

Source§

fn tip() -> Weight

Source§

fn spend() -> Weight

Implementors§

Source§

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