referrerpolicy=no-referrer-when-downgrade
cumulus_pallet_xcmp_queue::weights_ext

Trait WeightInfoExt

Source
pub trait WeightInfoExt: WeightInfo {
    // Provided methods
    fn uncached_enqueue_xcmp_messages() -> Weight { ... }
    fn enqueue_xcmp_messages(
        first_page_pos: u32,
        batch_footprint: &BatchFootprint,
    ) -> Weight { ... }
    fn check_accuracy<MaxMessageLen: Get<u32>>(err_margin: f64) { ... }
}
Expand description

Extended weight info.

Provided Methods§

Source

fn uncached_enqueue_xcmp_messages() -> Weight

Source

fn enqueue_xcmp_messages( first_page_pos: u32, batch_footprint: &BatchFootprint, ) -> Weight

Source

fn check_accuracy<MaxMessageLen: Get<u32>>(err_margin: f64)

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.

Implementors§