pub trait WeightInfo {
// Required methods
fn do_process_message() -> Weight;
fn commit() -> Weight;
fn commit_single() -> Weight;
fn submit_delivery_receipt() -> Weight;
fn on_initialize() -> Weight;
fn process() -> Weight;
}
Expand description
Weight functions needed for snowbridge-pallet-outbound-queue
.
Required Methods§
fn do_process_message() -> Weight
fn commit() -> Weight
fn commit_single() -> Weight
fn submit_delivery_receipt() -> Weight
fn on_initialize() -> Weight
fn process() -> 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 do_process_message() -> Weight
fn do_process_message() -> Weight
Storage: EthereumOutboundQueue MessageLeaves (r:1 w:1) Proof Skipped: EthereumOutboundQueue MessageLeaves (max_values: Some(1), max_size: None, mode: Measured) Storage: EthereumOutboundQueue PendingHighPriorityMessageCount (r:1 w:1) Proof: EthereumOutboundQueue PendingHighPriorityMessageCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: EthereumOutboundQueue Nonce (r:1 w:1) Proof: EthereumOutboundQueue Nonce (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) Storage: EthereumOutboundQueue Messages (r:1 w:1) Proof Skipped: EthereumOutboundQueue Messages (max_values: Some(1), max_size: None, mode: Measured)
Source§fn commit() -> Weight
fn commit() -> Weight
Storage: EthereumOutboundQueue MessageLeaves (r:1 w:0) Proof Skipped: EthereumOutboundQueue MessageLeaves (max_values: Some(1), max_size: None, mode: Measured) Storage: System Digest (r:1 w:1) Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)