Trait spl_token_2022::extension::Extension
source · pub trait Extension {
const TYPE: ExtensionType;
}
Expand description
Trait to be implemented by all extension states, specifying which extension and account type they are associated with
Required Associated Constants§
sourceconst TYPE: ExtensionType
const TYPE: ExtensionType
Associated extension type enum, checked at the start of TLV entries
Object Safety§
This trait is not object safe.