pub trait WeightInfo {
// Required methods
fn on_idle_good_msg() -> Weight;
fn on_idle_large_msg() -> Weight;
fn on_idle_overweight_good_msg() -> Weight;
fn on_idle_overweight_large_msg() -> Weight;
}
Expand description
Weight functions needed for cumulus_pallet_dmp_queue
.
Required Methods§
fn on_idle_good_msg() -> Weight
fn on_idle_large_msg() -> Weight
fn on_idle_overweight_good_msg() -> Weight
fn on_idle_overweight_large_msg() -> 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_idle_good_msg() -> Weight
fn on_idle_good_msg() -> Weight
Storage: DmpQueue::MigrationStatus
(r:1 w:1)
Proof: DmpQueue::MigrationStatus
(max_values
: Some(1), max_size
: Some(1028), added: 1523, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca7d95d3e948effbeccff2de2c182672836
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca7d95d3e948effbeccff2de2c182672836
(r:1 w:1)
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(52), added: 2527, mode: MaxEncodedLen
)
Storage: MessageQueue::ServiceHead
(r:1 w:1)
Proof: MessageQueue::ServiceHead
(max_values
: Some(1), max_size
: Some(5), added: 500, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:0 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65585), added: 68060, mode: MaxEncodedLen
)
Source§fn on_idle_large_msg() -> Weight
fn on_idle_large_msg() -> Weight
Storage: DmpQueue::MigrationStatus
(r:1 w:1)
Proof: DmpQueue::MigrationStatus
(max_values
: Some(1), max_size
: Some(1028), added: 1523, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca7d95d3e948effbeccff2de2c182672836
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca7d95d3e948effbeccff2de2c182672836
(r:1 w:1)
Source§fn on_idle_overweight_good_msg() -> Weight
fn on_idle_overweight_good_msg() -> Weight
Storage: DmpQueue::MigrationStatus
(r:1 w:1)
Proof: DmpQueue::MigrationStatus
(max_values
: Some(1), max_size
: Some(1028), added: 1523, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca70f923ef3252d0166429d36d20ed665a8
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca70f923ef3252d0166429d36d20ed665a8
(r:1 w:1)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca772275f64c354954352b71eea39cfaca2
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca772275f64c354954352b71eea39cfaca2
(r:1 w:1)
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(52), added: 2527, mode: MaxEncodedLen
)
Storage: MessageQueue::ServiceHead
(r:1 w:1)
Proof: MessageQueue::ServiceHead
(max_values
: Some(1), max_size
: Some(5), added: 500, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:0 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65585), added: 68060, mode: MaxEncodedLen
)
Source§fn on_idle_overweight_large_msg() -> Weight
fn on_idle_overweight_large_msg() -> Weight
Storage: DmpQueue::MigrationStatus
(r:1 w:1)
Proof: DmpQueue::MigrationStatus
(max_values
: Some(1), max_size
: Some(1028), added: 1523, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca754904d6d8c6fe06c4e5965f9b8397421
(r:1 w:0)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca70f923ef3252d0166429d36d20ed665a8
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca70f923ef3252d0166429d36d20ed665a8
(r:1 w:1)
Storage: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca772275f64c354954352b71eea39cfaca2
(r:1 w:1)
Proof: UNKNOWN KEY 0xcd5c1f6df63bc97f4a8ce37f14a50ca772275f64c354954352b71eea39cfaca2
(r:1 w:1)