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§

source

const TYPE: ExtensionType

Associated extension type enum, checked at the start of TLV entries

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Extension for TokenGroup

source§

const TYPE: ExtensionType = ExtensionType::TokenGroup

source§

impl Extension for TokenGroupMember

source§

const TYPE: ExtensionType = ExtensionType::TokenGroupMember

source§

impl Extension for TokenMetadata

source§

const TYPE: ExtensionType = ExtensionType::TokenMetadata

Implementors§

source§

impl Extension for ConfidentialTransferAccount

source§

const TYPE: ExtensionType = ExtensionType::ConfidentialTransferAccount

source§

impl Extension for ConfidentialTransferMint

source§

const TYPE: ExtensionType = ExtensionType::ConfidentialTransferMint

source§

impl Extension for ConfidentialTransferFeeAmount

source§

const TYPE: ExtensionType = ExtensionType::ConfidentialTransferFeeAmount

source§

impl Extension for ConfidentialTransferFeeConfig

source§

const TYPE: ExtensionType = ExtensionType::ConfidentialTransferFeeConfig

source§

impl Extension for CpiGuard

source§

const TYPE: ExtensionType = ExtensionType::CpiGuard

source§

impl Extension for DefaultAccountState

source§

const TYPE: ExtensionType = ExtensionType::DefaultAccountState

source§

impl Extension for GroupMemberPointer

source§

const TYPE: ExtensionType = ExtensionType::GroupMemberPointer

source§

impl Extension for GroupPointer

source§

const TYPE: ExtensionType = ExtensionType::GroupPointer

source§

impl Extension for ImmutableOwner

source§

const TYPE: ExtensionType = ExtensionType::ImmutableOwner

source§

impl Extension for InterestBearingConfig

source§

const TYPE: ExtensionType = ExtensionType::InterestBearingConfig

source§

impl Extension for MemoTransfer

source§

const TYPE: ExtensionType = ExtensionType::MemoTransfer

source§

impl Extension for MetadataPointer

source§

const TYPE: ExtensionType = ExtensionType::MetadataPointer

source§

impl Extension for MintCloseAuthority

source§

const TYPE: ExtensionType = ExtensionType::MintCloseAuthority

source§

impl Extension for NonTransferable

source§

const TYPE: ExtensionType = ExtensionType::NonTransferable

source§

impl Extension for NonTransferableAccount

source§

const TYPE: ExtensionType = ExtensionType::NonTransferableAccount

source§

impl Extension for PermanentDelegate

source§

const TYPE: ExtensionType = ExtensionType::PermanentDelegate

source§

impl Extension for TransferFeeAmount

source§

const TYPE: ExtensionType = ExtensionType::TransferFeeAmount

source§

impl Extension for TransferFeeConfig

source§

const TYPE: ExtensionType = ExtensionType::TransferFeeConfig

source§

impl Extension for TransferHook

source§

const TYPE: ExtensionType = ExtensionType::TransferHook

source§

impl Extension for TransferHookAccount

source§

const TYPE: ExtensionType = ExtensionType::TransferHookAccount