pub trait WeightInfo {
// Required methods
fn feed_values(c: u32) -> Weight;
fn on_finalize() -> Weight;
}
Expand description
Weight functions needed for orml_oracle.
Required Methods§
fn feed_values(c: u32) -> Weight
fn on_finalize() -> Weight
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 ()
Default weights.
impl WeightInfo for ()
Default weights.