referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::GetCallIndex

pub trait GetCallIndex {
    // Required methods
    fn get_call_indices() -> &'static [u8] ;
    fn get_call_index(&self) -> u8;
}
Expand description

Gets the function index of the Call.

Required Methods§

fn get_call_indices() -> &'static [u8]

Return all call indices in the same order as GetCallName.

fn get_call_index(&self) -> u8

Return the index of this Call.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> GetCallIndex for Call<T>
where T: Config,