pub trait WeightInfo {
// Required methods
fn handle_transfers(t: u32, s: u32) -> Weight;
fn set_main_chain_scripts() -> Weight;
}
Expand description
Weight functions needed for pallet_partner_chains_bridge.
Required Methods§
fn handle_transfers(t: u32, s: u32) -> Weight
fn set_main_chain_scripts() -> 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 ()
impl WeightInfo for ()
Source§fn handle_transfers(t: u32, s: u32) -> Weight
fn handle_transfers(t: u32, s: u32) -> Weight
The range of component t
is [1, 256]
.
The range of component s
is [1, 256]
.
Source§fn set_main_chain_scripts() -> Weight
fn set_main_chain_scripts() -> Weight
Storage: Bridge::MainChainScriptsConfiguration
(r:0 w:1)
Proof: Bridge::MainChainScriptsConfiguration
(max_values
: Some(1), max_size
: None, mode: Measured
)