Trait xcm::v2::prelude::ExecuteXcm

source ·
pub trait ExecuteXcm<Call> {
    fn execute_xcm_in_credit(
        origin: impl Into<MultiLocation>,
        message: Xcm<Call>,
        weight_limit: Weight,
        weight_credit: Weight
    ) -> Outcome; fn execute_xcm(
        origin: impl Into<MultiLocation>,
        message: Xcm<Call>,
        weight_limit: Weight
    ) -> Outcome { ... } }
Expand description

Type of XCM message executor.

Required Methods§

Execute some XCM message from origin using no more than weight_limit weight.

Some amount of weight_credit may be provided which, depending on the implementation, may allow execution without associated payment.

Provided Methods§

Execute some XCM message from origin using no more than weight_limit weight. The weight limit is a basic hard-limit and the implementation may place further restrictions or requirements on weight and other aspects.

Implementations on Foreign Types§

Implementors§