pub trait WeightInfo {
// Required methods
fn on_initialize_when_non_congested() -> Weight;
fn on_initialize_when_congested() -> Weight;
fn report_bridge_status() -> Weight;
}
Expand description
Weight functions needed for pallet_xcm_bridge_hub_router.
Required Methods§
fn on_initialize_when_non_congested() -> Weight
fn on_initialize_when_congested() -> Weight
fn report_bridge_status() -> 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 on_initialize_when_non_congested() -> Weight
fn on_initialize_when_non_congested() -> Weight
Storage: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765
(r:1 w:0)
Proof: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765
(r:1
w:0)
Storage: XcmBridgeHubRouter::DeliveryFeeFactor
(r:1 w:1)
Proof: XcmBridgeHubRouter::DeliveryFeeFactor
(max_values
: Some(1), max_size
: Some(16),
added: 511, mode: MaxEncodedLen
)
Source§fn on_initialize_when_congested() -> Weight
fn on_initialize_when_congested() -> Weight
Storage: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765
(r:1 w:0)
Proof: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765
(r:1
w:0)
Source§fn report_bridge_status() -> Weight
fn report_bridge_status() -> Weight
Storage: XcmBridgeHubRouter::Bridge
(r:1 w:1)
Proof: XcmBridgeHubRouter::Bridge
(max_values
: Some(1), max_size
: Some(17), added:
512, mode: MaxEncodedLen
)