Trait frame_support::pallet_prelude::PalletInfoAccess[][src]

pub trait PalletInfoAccess {
    fn index() -> usize;
fn name() -> &'static str; }
Expand description

Provides information about the pallet setup in the runtime.

Access the information provided by PalletInfo for a specific pallet.

Required methods

Index of the pallet as configured in the runtime.

Name of the pallet as configured in the runtime.

Implementors