Trait WeightInfo

Source
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§

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.

Implementors§