Crate staging_xcm
source ·Expand description
Cross-Consensus Message format data structures.
Modules§
- XCM Version 2
- Version 3 of the Cross-Consensus Message format data structures.
- Version 4 of the Cross-Consensus Message format data structures.
Structs§
WrapVersionimplementation which attempts to always convert the XCM to version 2 before wrapping it.WrapVersionimplementation which attempts to always convert the XCM to version 3 before wrapping it.WrapVersionimplementation which attempts to always convert the XCM to version 3 before wrapping it.- Wrapper around the encoded and decoded versions of a value. Caches the decoded value once computed.
Enums§
- A single
Assetvalue, together with its version code. - A single version’s
AssetIdvalue, together with its version code. - A single
MultiAssetsvalue, together with its version code. - A single
InteriorLocationvalue, together with its version code. - A single
Junctionvalue, together with its version code. - A single
Locationvalue, together with its version code. - A single
NetworkIdvalue, together with its version code. - A single version’s
Responsevalue, together with its version code. - A single XCM message, together with its version code.
Constants§
- Maximum nesting level for XCM decoding.
- Maximum encoded size. See
decoding_respects_limittest for more reasoning behind this value.
Traits§
- Check and return the
Versionthat should be used for theXcmdatum for the destinationLocation, which will interpret it. - Used to get the version out of a versioned type.
- Attempt to convert
selfinto a particular version of itself. - Convert an
Xcmdatum into aVersionedXcm, based on a destinationLocationwhich will interpret it.
Type Aliases§
WrapVersionimplementation which attempts to always convert the XCM to the latest version before wrapping it.WrapVersionimplementation which attempts to always convert the XCM to the most recent Long- Term-Support version before wrapping it.- A version of XCM.
- VersionedInteriorMultiLocationDeprecated
- VersionedMultiAssetDeprecated
- VersionedMultiAssetsDeprecated
- VersionedMultiLocationDeprecated