pub trait Extension: Pod + Default {
    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

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 CpiGuard

source§

const TYPE: ExtensionType = ExtensionType::CpiGuard

source§

impl Extension for DefaultAccountState

source§

const TYPE: ExtensionType = ExtensionType::DefaultAccountState

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 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