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§
sourcefn get_call_indices() -> &'static [u8] ⓘ
fn get_call_indices() -> &'static [u8] ⓘ
Return all call indices in the same order as GetCallName
.
sourcefn get_call_index(&self) -> u8
fn get_call_index(&self) -> u8
Return the index of this Call.