pub trait ShouldExecute {
    // Required method
    fn should_execute<RuntimeCall>(
        origin: &MultiLocation,
        message: &mut Xcm<RuntimeCall>,
        max_weight: Weight,
        weight_credit: &mut Weight
    ) -> Result<(), ()>;
}
Expand description

Trait to determine whether the execution engine should actually execute a given XCM.

Can be amalgamated into a tuple to have multiple trials. If any of the tuple elements returns Ok(), the execution stops. Else, Err(_) is returned if all elements reject the message.

Required Methods§

source

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

Returns true if the given message may be executed.

  • origin: The origin (sender) of the message.
  • message: The message itself.
  • max_weight: The (possibly over-) estimation of the weight of execution of the message.
  • weight_credit: The pre-established amount of weight that the system has determined this message may utilize in its execution. Typically non-zero only because of prior fee payment, but could in principle be due to other factors.

Implementations on Foreign Types§

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute, TupleElement25: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute, TupleElement25: ShouldExecute, TupleElement26: ShouldExecute, TupleElement27: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute, TupleElement25: ShouldExecute, TupleElement26: ShouldExecute, TupleElement27: ShouldExecute, TupleElement28: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute, TupleElement25: ShouldExecute, TupleElement26: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute, TupleElement25: ShouldExecute, TupleElement26: ShouldExecute, TupleElement27: ShouldExecute, TupleElement28: ShouldExecute, TupleElement29: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute, TupleElement21: ShouldExecute, TupleElement22: ShouldExecute, TupleElement23: ShouldExecute, TupleElement24: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute, TupleElement5: ShouldExecute, TupleElement6: ShouldExecute, TupleElement7: ShouldExecute, TupleElement8: ShouldExecute, TupleElement9: ShouldExecute, TupleElement10: ShouldExecute, TupleElement11: ShouldExecute, TupleElement12: ShouldExecute, TupleElement13: ShouldExecute, TupleElement14: ShouldExecute, TupleElement15: ShouldExecute, TupleElement16: ShouldExecute, TupleElement17: ShouldExecute, TupleElement18: ShouldExecute, TupleElement19: ShouldExecute, TupleElement20: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute> ShouldExecute for (TupleElement0,)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl ShouldExecute for ()

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

source§

impl<TupleElement0: ShouldExecute, TupleElement1: ShouldExecute, TupleElement2: ShouldExecute, TupleElement3: ShouldExecute, TupleElement4: ShouldExecute> ShouldExecute for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut Xcm<RuntimeCall>, max_weight: Weight, weight_credit: &mut Weight ) -> Result<(), ()>

Implementors§