referrerpolicy=no-referrer-when-downgrade
pallet_collective_content::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn set_charter() -> Weight;
    fn announce() -> Weight;
    fn remove_announcement() -> Weight;
}
Expand description

Weights information needed for the pallet.

Required Methods§

Source

fn set_charter() -> Weight

Returns the weight of the set_charter extrinsic.

Source

fn announce() -> Weight

Returns the weight of the announce extrinsic.

Source

fn remove_announcement() -> Weight

Returns the weight of the remove_announcement extrinsic.

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

Unit implementation of the WeightInfo.

Source§

fn set_charter() -> Weight

Source§

fn announce() -> Weight

Source§

fn remove_announcement() -> Weight

Implementors§