pub trait WeightInfo {
// Required methods
fn create() -> Weight;
fn update() -> Weight;
fn remove() -> Weight;
}
Expand description
Weight functions needed for pallet_asset_rate
.
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 ()
impl WeightInfo for ()
Source§fn create() -> Weight
fn create() -> Weight
Storage: AssetRate::ConversionRateToNative
(r:1 w:1)
Proof: AssetRate::ConversionRateToNative
(max_values
: None, max_size
: Some(37), added: 2512, mode: MaxEncodedLen
)