referrerpolicy=no-referrer-when-downgrade

Trait WeightInfo

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

Weight functions needed for pallet origins restriction.

Required Methods§

Source

fn clean_usage() -> Weight

Source

fn restrict_origin_tx_ext() -> 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§