Trait frame_support::traits::GetCallIndex

source ·
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§

source

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

Return all call indices in the same order as GetCallName.

source

fn get_call_index(&self) -> u8

Return the index of this Call.

Object Safety§

This trait is not object safe.

Implementors§