Trait frame_support::dispatch::GetCallMetadata[][src]

pub trait GetCallMetadata {
    fn get_module_names() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn get_call_names(module: &str) -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn get_call_metadata(&self) -> CallMetadata; }
Expand description

Gets the metadata for the Call - function name and pallet name.

Required methods

Return all module names.

Return all function names for the given module.

Return a CallMetadata, containing function and pallet name of the Call.

Implementors