referrerpolicy=no-referrer-when-downgrade

Trait staging_xcm_executor::traits::ShouldExecute

source ·
pub trait ShouldExecute {
    // Required method
    fn should_execute<RuntimeCall>(
        origin: &Location,
        instructions: &mut [Instruction<RuntimeCall>],
        max_weight: Weight,
        properties: &mut Properties,
    ) -> Result<(), ProcessMessageError>;
}
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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

Returns Ok(()) if the given message may be executed.

  • origin: The origin (sender) of the message.
  • instructions: The message itself.
  • max_weight: The (possibly over-) estimation of the weight of execution of the message.
  • properties: Various pre-established properties of the message which may be mutated by this API.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ShouldExecute for ()

source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

source§

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

source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

source§

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

source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

source§

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

source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

source§

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

source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

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: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

Implementors§