referrerpolicy=no-referrer-when-downgrade

Module weights_prelude

Source
Expand description

Prelude to be included in the weight.rs of each pallet.

pub use polkadot_sdk_frame::weights_prelude::*;

Re-exports§

pub use frame_system;

Structs§

ParityDbWeight
ParityDB can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.
PhantomData
Zero-sized type used to mark things that “act like” they own a T.
RocksDbWeight
By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.
Weight

Traits§

Get
A trait for querying a single value from a type.