referrerpolicy=no-referrer-when-downgrade

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

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§

§

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