Trait xcm_calls::PalletCall[][src]

pub trait PalletCall: Sized {
    fn pallet_call_index(&self) -> u8;

    fn encoder<'a, 'b, Config: PalletCallEncoder>(
        &'a self,
        ctx: &'b Config::Context
    ) -> CallEncoder<'a, 'b, Self, Config> { ... } }
Expand description

Abstraction over a dispatchable call in a pallet

Required methods

Returns the index of the call within its pallet

Provided methods

Implementors