Trait frame_support::traits::Instance
source · pub trait Instance: 'static {
const PREFIX: &'static str;
const INDEX: u8;
}
Expand description
An instance of a pallet in the storage.
It is required that these instances are unique, to support multiple instances per pallet in the same runtime!
E.g. for module MyModule default instance will have prefix “MyModule” and other instances “InstanceNMyModule”.
Required Associated Constants§
Object Safety§
This trait is not object safe.