pub trait WeightInfo {
// Required methods
fn charge_pgas() -> Weight;
fn charge_pgas_skip() -> Weight;
}Expand description
Weight functions needed for pallet_pgas_allowance.
Required Methods§
Sourcefn charge_pgas() -> Weight
fn charge_pgas() -> Weight
Full PGAS path: validate, withdraw into a credit and resolve refund.
Sourcefn charge_pgas_skip() -> Weight
fn charge_pgas_skip() -> Weight
PGAS path is skipped (unsigned, filter miss, or insufficient PGAS balance).
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.