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§
Sourcefn set_charter() -> Weight
fn set_charter() -> Weight
Returns the weight of the set_charter extrinsic.
Sourcefn remove_announcement() -> Weight
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 ()
impl WeightInfo for ()
Unit implementation of the WeightInfo.