referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::GetCallName

pub trait GetCallName {
    // Required methods
    fn get_call_names() -> &'static [&'static str];
    fn get_call_name(&self) -> &'static str;
}
Expand description

Gets the function name of the Call.

Required Methods§

fn get_call_names() -> &'static [&'static str]

Return all function names in the same order as GetCallIndex.

fn get_call_name(&self) -> &'static str

Return the function name of the Call.

Object Safety§

This trait is not object safe.

Implementors§

§

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