Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn register_asset_location() -> Weight;
    fn set_asset_units_per_second() -> Weight;
    fn change_existing_asset_location() -> Weight;
    fn remove_payment_asset() -> Weight;
    fn remove_asset() -> Weight;
}
Expand description

Weight info trait.

Required Methods§

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>