referrerpolicy=no-referrer-when-downgrade
frame_support::traits

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§