Docs.rs
soroban-env-host-20.0.2
soroban-env-host 20.0.2
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
graydon
leighmcculloch
stellar-crates
Dependencies
backtrace =0.3.69
normal
curve25519-dalek =4.1.1
normal
ed25519-dalek =2.0.0
normal
getrandom =0.2.11
normal
hex-literal =0.4.1
normal
hmac =0.12.1
normal
k256 =0.13.1
normal
num-derive =0.4.1
normal
num-integer =0.1.45
normal
num-traits =0.2.17
normal
rand =0.8.5
normal
rand_chacha =0.3.1
normal
sha2 =0.10.8
normal
sha3 =0.10.8
normal
soroban-builtin-sdk-macros =20.0.2
normal
soroban-env-common =20.0.2
normal
static_assertions =1.1.0
normal
stellar-strkey =0.0.8
normal
soroban-wasmi =0.31.1-soroban.20.0.0
normal
arbitrary =1.3.2
dev
backtrace =0.3.69
dev
bytes-lit =0.0.5
dev
expect-test =1.4.1
dev
hex =0.4.3
dev
itertools =0.11.0
dev
linregress =0.5.3
dev
more-asserts =0.3.1
dev
pretty_assertions =1.4.0
dev
serde_json =1.0.108
dev
soroban-env-macros =20.0.2
dev
stellar-xdr =20.0.2
dev
tabwriter =1.3.0
dev
textplots =0.8.4
dev
thousands =0.2.0
dev
wasmprinter =0.2.72
dev
tracy-client =0.15.2
normal
Versions
62.02%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
soroban_env_host
20.0.2
Union
Object Safety
Implementors
In soroban_env_host::xdr
?
Trait
soroban_env_host
::
xdr
::
Union
[
−
]
pub trait Union<D>:
Name
+
Discriminant
<D> +
Variants
<D> { }
Object Safety
§
This trait is
not
object safe
.
Implementors
§
§
impl
Union
<
AccountMergeResultCode
> for
AccountMergeResult
§
impl
Union
<
AllowTrustResultCode
> for
AllowTrustResult
§
impl
Union
<
AssetType
> for
Asset
§
impl
Union
<
AssetType
> for
AssetCode
§
impl
Union
<
AssetType
> for
ChangeTrustAsset
§
impl
Union
<
AssetType
> for
TrustLineAsset
§
impl
Union
<
BeginSponsoringFutureReservesResultCode
> for
BeginSponsoringFutureReservesResult
§
impl
Union
<
BucketEntryType
> for
BucketEntry
§
impl
Union
<
BumpSequenceResultCode
> for
BumpSequenceResult
§
impl
Union
<
ChangeTrustResultCode
> for
ChangeTrustResult
§
impl
Union
<
ClaimAtomType
> for
ClaimAtom
§
impl
Union
<
ClaimClaimableBalanceResultCode
> for
ClaimClaimableBalanceResult
§
impl
Union
<
ClaimPredicateType
> for
ClaimPredicate
§
impl
Union
<
ClaimableBalanceIdType
> for
ClaimableBalanceId
§
impl
Union
<
ClaimantType
> for
Claimant
§
impl
Union
<
ClawbackClaimableBalanceResultCode
> for
ClawbackClaimableBalanceResult
§
impl
Union
<
ClawbackResultCode
> for
ClawbackResult
§
impl
Union
<
ConfigSettingId
> for
ConfigSettingEntry
§
impl
Union
<
ContractExecutableType
> for
ContractExecutable
§
impl
Union
<
ContractIdPreimageType
> for
ContractIdPreimage
§
impl
Union
<
CreateAccountResultCode
> for
CreateAccountResult
§
impl
Union
<
CreateClaimableBalanceResultCode
> for
CreateClaimableBalanceResult
§
impl
Union
<
CryptoKeyType
> for
MuxedAccount
§
impl
Union
<
EndSponsoringFutureReservesResultCode
> for
EndSponsoringFutureReservesResult
§
impl
Union
<
EnvelopeType
> for
FeeBumpTransactionInnerTx
§
impl
Union
<
EnvelopeType
> for
HashIdPreimage
§
impl
Union
<
EnvelopeType
> for
TransactionEnvelope
§
impl
Union
<
EnvelopeType
> for
TransactionSignaturePayloadTaggedTransaction
§
impl
Union
<
ExtendFootprintTtlResultCode
> for
ExtendFootprintTtlResult
§
impl
Union
<
HostFunctionType
> for
HostFunction
§
impl
Union
<
InflationResultCode
> for
InflationResult
§
impl
Union
<
InvokeHostFunctionResultCode
> for
InvokeHostFunctionResult
§
impl
Union
<
IpAddrType
> for
PeerAddressIp
§
impl
Union
<
LedgerEntryChangeType
> for
LedgerEntryChange
§
impl
Union
<
LedgerEntryType
> for
LedgerEntryData
§
impl
Union
<
LedgerEntryType
> for
LedgerKey
§
impl
Union
<
LedgerUpgradeType
> for
LedgerUpgrade
§
impl
Union
<
LiquidityPoolDepositResultCode
> for
LiquidityPoolDepositResult
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolEntryBody
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolParameters
§
impl
Union
<
LiquidityPoolWithdrawResultCode
> for
LiquidityPoolWithdrawResult
§
impl
Union
<
ManageBuyOfferResultCode
> for
ManageBuyOfferResult
§
impl
Union
<
ManageDataResultCode
> for
ManageDataResult
§
impl
Union
<
ManageOfferEffect
> for
ManageOfferSuccessResultOffer
§
impl
Union
<
ManageSellOfferResultCode
> for
ManageSellOfferResult
§
impl
Union
<
MemoType
> for
Memo
§
impl
Union
<
MessageType
> for
StellarMessage
§
impl
Union
<
OperationResultCode
> for
OperationResult
§
impl
Union
<
OperationType
> for
OperationBody
§
impl
Union
<
OperationType
> for
OperationResultTr
§
impl
Union
<
PathPaymentStrictReceiveResultCode
> for
PathPaymentStrictReceiveResult
§
impl
Union
<
PathPaymentStrictSendResultCode
> for
PathPaymentStrictSendResult
§
impl
Union
<
PaymentResultCode
> for
PaymentResult
§
impl
Union
<
PreconditionType
> for
Preconditions
§
impl
Union
<
PublicKeyType
> for
PublicKey
§
impl
Union
<
RestoreFootprintResultCode
> for
RestoreFootprintResult
§
impl
Union
<
RevokeSponsorshipResultCode
> for
RevokeSponsorshipResult
§
impl
Union
<
RevokeSponsorshipType
> for
RevokeSponsorshipOp
§
impl
Union
<
ScAddressType
> for
ScAddress
§
impl
Union
<
ScEnvMetaKind
> for
ScEnvMetaEntry
§
impl
Union
<
ScErrorType
> for
ScError
§
impl
Union
<
ScMetaKind
> for
ScMetaEntry
§
impl
Union
<
ScSpecEntryKind
> for
ScSpecEntry
§
impl
Union
<
ScSpecType
> for
ScSpecTypeDef
§
impl
Union
<
ScSpecUdtUnionCaseV0Kind
> for
ScSpecUdtUnionCaseV0
§
impl
Union
<
ScValType
> for
ScVal
§
impl
Union
<
ScpStatementType
> for
ScpStatementPledges
§
impl
Union
<
SetOptionsResultCode
> for
SetOptionsResult
§
impl
Union
<
SetTrustLineFlagsResultCode
> for
SetTrustLineFlagsResult
§
impl
Union
<
SignerKeyType
> for
SignerKey
§
impl
Union
<
SorobanAuthorizedFunctionType
> for
SorobanAuthorizedFunction
§
impl
Union
<
SorobanCredentialsType
> for
SorobanCredentials
§
impl
Union
<
StellarValueType
> for
StellarValueExt
§
impl
Union
<
SurveyMessageResponseType
> for
SurveyResponseBody
§
impl
Union
<
TransactionResultCode
> for
InnerTransactionResultResult
§
impl
Union
<
TransactionResultCode
> for
TransactionResultResult
§
impl
Union
<
TxSetComponentType
> for
TxSetComponent
§
impl
Union
<
i32
> for
AccountEntryExt
§
impl
Union
<
i32
> for
AccountEntryExtensionV1Ext
§
impl
Union
<
i32
> for
AccountEntryExtensionV2Ext
§
impl
Union
<
i32
> for
BucketMetadataExt
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExt
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExtensionV1Ext
§
impl
Union
<
i32
> for
ContractEventBody
§
impl
Union
<
i32
> for
DataEntryExt
§
impl
Union
<
i32
> for
ExtensionPoint
§
impl
Union
<
i32
> for
FeeBumpTransactionExt
§
impl
Union
<
i32
> for
GeneralizedTransactionSet
§
impl
Union
<
i32
> for
InnerTransactionResultExt
§
impl
Union
<
i32
> for
LedgerCloseMeta
§
impl
Union
<
i32
> for
LedgerEntryExt
§
impl
Union
<
i32
> for
LedgerEntryExtensionV1Ext
§
impl
Union
<
i32
> for
LedgerHeaderExt
§
impl
Union
<
i32
> for
LedgerHeaderExtensionV1Ext
§
impl
Union
<
i32
> for
LedgerHeaderHistoryEntryExt
§
impl
Union
<
i32
> for
OfferEntryExt
§
impl
Union
<
i32
> for
PersistedScpState
§
impl
Union
<
i32
> for
ScpHistoryEntry
§
impl
Union
<
i32
> for
StoredTransactionSet
§
impl
Union
<
i32
> for
TransactionExt
§
impl
Union
<
i32
> for
TransactionHistoryEntryExt
§
impl
Union
<
i32
> for
TransactionHistoryResultEntryExt
§
impl
Union
<
i32
> for
TransactionMeta
§
impl
Union
<
i32
> for
TransactionPhase
§
impl
Union
<
i32
> for
TransactionResultExt
§
impl
Union
<
i32
> for
TransactionV0Ext
§
impl
Union
<
i32
> for
TrustLineEntryExt
§
impl
Union
<
i32
> for
TrustLineEntryExtensionV2Ext
§
impl
Union
<
i32
> for
TrustLineEntryV1Ext
§
impl
Union
<
u32
> for
AuthenticatedMessage