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
fn pallet_call_index(&self) -> u8
fn pallet_call_index(&self) -> u8
Returns the index of the call within its pallet