Trait xcm::GetWeight

source ·
pub trait GetWeight<W> {
    // Required method
    fn weight(&self) -> Weight;
}

Required Methods§

source

fn weight(&self) -> Weight

Implementors§

source§

impl<Call, W: XcmWeightInfo<Call>> GetWeight<W> for xcm::v3::Instruction<Call>

source§

impl<RuntimeCall, W: XcmWeightInfo<RuntimeCall>> GetWeight<W> for xcm::v2::Instruction<RuntimeCall>