stellar_xdr::next

Trait Variants

Source
pub trait Variants<V> {
    // Required method
    fn variants() -> Iter<'static, V>
       where V: Sized;
}
Available on crate feature next only.
Expand description

Iter defines types that have variants that can be iterated.

Required Methods§

Source

fn variants() -> Iter<'static, V>
where V: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Variants<AccountFlags> for AccountFlags

Source§

impl Variants<AccountMergeResultCode> for AccountMergeResult

Source§

impl Variants<AccountMergeResultCode> for AccountMergeResultCode

Source§

impl Variants<AllowTrustResultCode> for AllowTrustResult

Source§

impl Variants<AllowTrustResultCode> for AllowTrustResultCode

Source§

impl Variants<ArchivalProofType> for ArchivalProofBody

Source§

impl Variants<ArchivalProofType> for ArchivalProofType

Source§

impl Variants<AssetType> for Asset

Source§

impl Variants<AssetType> for AssetCode

Source§

impl Variants<AssetType> for AssetType

Source§

impl Variants<AssetType> for ChangeTrustAsset

Source§

impl Variants<AssetType> for TrustLineAsset

Source§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResult

Source§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResultCode

Source§

impl Variants<BinaryFuseFilterType> for BinaryFuseFilterType

Source§

impl Variants<BucketEntryType> for BucketEntry

Source§

impl Variants<BucketEntryType> for BucketEntryType

Source§

impl Variants<BucketListType> for BucketListType

Source§

impl Variants<BumpSequenceResultCode> for BumpSequenceResult

Source§

impl Variants<BumpSequenceResultCode> for BumpSequenceResultCode

Source§

impl Variants<ChangeTrustResultCode> for ChangeTrustResult

Source§

impl Variants<ChangeTrustResultCode> for ChangeTrustResultCode

Source§

impl Variants<ClaimAtomType> for ClaimAtom

Source§

impl Variants<ClaimAtomType> for ClaimAtomType

Source§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResult

Source§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResultCode

Source§

impl Variants<ClaimPredicateType> for ClaimPredicate

Source§

impl Variants<ClaimPredicateType> for ClaimPredicateType

Source§

impl Variants<ClaimableBalanceFlags> for ClaimableBalanceFlags

Source§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceId

Source§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceIdType

Source§

impl Variants<ClaimantType> for Claimant

Source§

impl Variants<ClaimantType> for ClaimantType

Source§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResult

Source§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResultCode

Source§

impl Variants<ClawbackResultCode> for ClawbackResult

Source§

impl Variants<ClawbackResultCode> for ClawbackResultCode

Source§

impl Variants<ColdArchiveBucketEntryType> for ColdArchiveBucketEntry

Source§

impl Variants<ColdArchiveBucketEntryType> for ColdArchiveBucketEntryType

Source§

impl Variants<ConfigSettingId> for ConfigSettingEntry

Source§

impl Variants<ConfigSettingId> for ConfigSettingId

Source§

impl Variants<ContractCostType> for ContractCostType

Source§

impl Variants<ContractDataDurability> for ContractDataDurability

Source§

impl Variants<ContractEventType> for ContractEventType

Source§

impl Variants<ContractExecutableType> for ContractExecutable

Source§

impl Variants<ContractExecutableType> for ContractExecutableType

Source§

impl Variants<ContractIdPreimageType> for ContractIdPreimage

Source§

impl Variants<ContractIdPreimageType> for ContractIdPreimageType

Source§

impl Variants<CreateAccountResultCode> for CreateAccountResult

Source§

impl Variants<CreateAccountResultCode> for CreateAccountResultCode

Source§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResult

Source§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResultCode

Source§

impl Variants<CryptoKeyType> for CryptoKeyType

Source§

impl Variants<CryptoKeyType> for MuxedAccount

Source§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult

Source§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResultCode

Source§

impl Variants<EnvelopeType> for EnvelopeType

Source§

impl Variants<EnvelopeType> for FeeBumpTransactionInnerTx

Source§

impl Variants<EnvelopeType> for HashIdPreimage

Source§

impl Variants<EnvelopeType> for TransactionEnvelope

Source§

impl Variants<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction

Source§

impl Variants<ErrorCode> for ErrorCode

Source§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResult

Source§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResultCode

Source§

impl Variants<HostFunctionType> for HostFunction

Source§

impl Variants<HostFunctionType> for HostFunctionType

Source§

impl Variants<HotArchiveBucketEntryType> for HotArchiveBucketEntry

Source§

impl Variants<HotArchiveBucketEntryType> for HotArchiveBucketEntryType

Source§

impl Variants<InflationResultCode> for InflationResult

Source§

impl Variants<InflationResultCode> for InflationResultCode

Source§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResult

Source§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResultCode

Source§

impl Variants<IpAddrType> for IpAddrType

Source§

impl Variants<IpAddrType> for PeerAddressIp

Source§

impl Variants<LedgerEntryChangeType> for LedgerEntryChange

Source§

impl Variants<LedgerEntryChangeType> for LedgerEntryChangeType

Source§

impl Variants<LedgerEntryType> for LedgerEntryData

Source§

impl Variants<LedgerEntryType> for LedgerEntryType

Source§

impl Variants<LedgerEntryType> for LedgerKey

Source§

impl Variants<LedgerHeaderFlags> for LedgerHeaderFlags

Source§

impl Variants<LedgerUpgradeType> for LedgerUpgrade

Source§

impl Variants<LedgerUpgradeType> for LedgerUpgradeType

Source§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResult

Source§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResultCode

Source§

impl Variants<LiquidityPoolType> for LiquidityPoolEntryBody

Source§

impl Variants<LiquidityPoolType> for LiquidityPoolParameters

Source§

impl Variants<LiquidityPoolType> for LiquidityPoolType

Source§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResult

Source§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResultCode

Source§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResult

Source§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResultCode

Source§

impl Variants<ManageDataResultCode> for ManageDataResult

Source§

impl Variants<ManageDataResultCode> for ManageDataResultCode

Source§

impl Variants<ManageOfferEffect> for ManageOfferEffect

Source§

impl Variants<ManageOfferEffect> for ManageOfferSuccessResultOffer

Source§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResult

Source§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResultCode

Source§

impl Variants<MemoType> for Memo

Source§

impl Variants<MemoType> for MemoType

Source§

impl Variants<MessageType> for MessageType

Source§

impl Variants<MessageType> for StellarMessage

Source§

impl Variants<OfferEntryFlags> for OfferEntryFlags

Source§

impl Variants<OperationResultCode> for OperationResult

Source§

impl Variants<OperationResultCode> for OperationResultCode

Source§

impl Variants<OperationType> for OperationBody

Source§

impl Variants<OperationType> for OperationResultTr

Source§

impl Variants<OperationType> for OperationType

Source§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResult

Source§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResultCode

Source§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResult

Source§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResultCode

Source§

impl Variants<PaymentResultCode> for PaymentResult

Source§

impl Variants<PaymentResultCode> for PaymentResultCode

Source§

impl Variants<PreconditionType> for PreconditionType

Source§

impl Variants<PreconditionType> for Preconditions

Source§

impl Variants<PublicKeyType> for PublicKey

Source§

impl Variants<PublicKeyType> for PublicKeyType

Source§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResult

Source§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResultCode

Source§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResult

Source§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResultCode

Source§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipOp

Source§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipType

Source§

impl Variants<ScAddressType> for ScAddress

Source§

impl Variants<ScAddressType> for ScAddressType

Source§

impl Variants<ScEnvMetaKind> for ScEnvMetaEntry

Source§

impl Variants<ScEnvMetaKind> for ScEnvMetaKind

Source§

impl Variants<ScErrorCode> for ScErrorCode

Source§

impl Variants<ScErrorType> for ScError

Source§

impl Variants<ScErrorType> for ScErrorType

Source§

impl Variants<ScMetaKind> for ScMetaEntry

Source§

impl Variants<ScMetaKind> for ScMetaKind

Source§

impl Variants<ScSpecEntryKind> for ScSpecEntry

Source§

impl Variants<ScSpecEntryKind> for ScSpecEntryKind

Source§

impl Variants<ScSpecType> for ScSpecType

Source§

impl Variants<ScSpecType> for ScSpecTypeDef

Source§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0

Source§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0Kind

Source§

impl Variants<ScValType> for ScVal

Source§

impl Variants<ScValType> for ScValType

Source§

impl Variants<ScpStatementType> for ScpStatementPledges

Source§

impl Variants<ScpStatementType> for ScpStatementType

Source§

impl Variants<SetOptionsResultCode> for SetOptionsResult

Source§

impl Variants<SetOptionsResultCode> for SetOptionsResultCode

Source§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResult

Source§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode

Source§

impl Variants<SignerKeyType> for SignerKey

Source§

impl Variants<SignerKeyType> for SignerKeyType

Source§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunction

Source§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunctionType

Source§

impl Variants<SorobanCredentialsType> for SorobanCredentials

Source§

impl Variants<SorobanCredentialsType> for SorobanCredentialsType

Source§

impl Variants<StellarValueType> for StellarValueExt

Source§

impl Variants<StellarValueType> for StellarValueType

Source§

impl Variants<SurveyMessageCommandType> for SurveyMessageCommandType

Source§

impl Variants<SurveyMessageResponseType> for SurveyMessageResponseType

Source§

impl Variants<SurveyMessageResponseType> for SurveyResponseBody

Source§

impl Variants<ThresholdIndexes> for ThresholdIndexes

Source§

impl Variants<TransactionResultCode> for InnerTransactionResultResult

Source§

impl Variants<TransactionResultCode> for TransactionResultCode

Source§

impl Variants<TransactionResultCode> for TransactionResultResult

Source§

impl Variants<TrustLineFlags> for TrustLineFlags

Source§

impl Variants<TxSetComponentType> for TxSetComponent

Source§

impl Variants<TxSetComponentType> for TxSetComponentType

Source§

impl Variants<TypeVariant> for Type

Source§

impl Variants<TypeVariant> for TypeVariant

Source§

impl Variants<i32> for AccountEntryExt

Source§

impl Variants<i32> for AccountEntryExtensionV1Ext

Source§

impl Variants<i32> for AccountEntryExtensionV2Ext

Source§

impl Variants<i32> for BucketMetadataExt

Source§

impl Variants<i32> for ClaimableBalanceEntryExt

Source§

impl Variants<i32> for ClaimableBalanceEntryExtensionV1Ext

Source§

impl Variants<i32> for ContractCodeEntryExt

Source§

impl Variants<i32> for ContractEventBody

Source§

impl Variants<i32> for DataEntryExt

Source§

impl Variants<i32> for ExtensionPoint

Source§

impl Variants<i32> for FeeBumpTransactionExt

Source§

impl Variants<i32> for GeneralizedTransactionSet

Source§

impl Variants<i32> for InnerTransactionResultExt

Source§

impl Variants<i32> for LedgerCloseMeta

Source§

impl Variants<i32> for LedgerCloseMetaExt

Source§

impl Variants<i32> for LedgerEntryExt

Source§

impl Variants<i32> for LedgerEntryExtensionV1Ext

Source§

impl Variants<i32> for LedgerHeaderExt

Source§

impl Variants<i32> for LedgerHeaderExtensionV1Ext

Source§

impl Variants<i32> for LedgerHeaderHistoryEntryExt

Source§

impl Variants<i32> for OfferEntryExt

Source§

impl Variants<i32> for PersistedScpState

Source§

impl Variants<i32> for ScpHistoryEntry

Source§

impl Variants<i32> for SorobanTransactionDataExt

Source§

impl Variants<i32> for SorobanTransactionMetaExt

Source§

impl Variants<i32> for StoredTransactionSet

Source§

impl Variants<i32> for TransactionExt

Source§

impl Variants<i32> for TransactionHistoryEntryExt

Source§

impl Variants<i32> for TransactionHistoryResultEntryExt

Source§

impl Variants<i32> for TransactionMeta

Source§

impl Variants<i32> for TransactionPhase

Source§

impl Variants<i32> for TransactionResultExt

Source§

impl Variants<i32> for TransactionV0Ext

Source§

impl Variants<i32> for TrustLineEntryExt

Source§

impl Variants<i32> for TrustLineEntryExtensionV2Ext

Source§

impl Variants<i32> for TrustLineEntryV1Ext

Source§

impl Variants<u32> for AuthenticatedMessage