Crate staging_xcm
source ·Expand description
Cross-Consensus Message format data structures.
Modules§
- Version 3 of the Cross-Consensus Message format data structures.
- Version 4 of the Cross-Consensus Message format data structures.
- Version 5 of the Cross-Consensus Message format data structures.
Structs§
WrapVersion
implementation which attempts to always convert the XCM to version 3 before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to version 3 before wrapping it.WrapVersion
implementation 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
Asset
value, together with its version code. - A single version’s
AssetId
value, together with its version code. - A single
MultiAssets
value, together with its version code. - A single
InteriorLocation
value, together with its version code. - A single
Junction
value, together with its version code. - A single
Location
value, together with its version code. - A single
NetworkId
value, together with its version code. - A single version’s
Response
value, together with its version code. - A single XCM message, together with its version code.
Constants§
- Maximum nesting level for XCM decoding.
Traits§
- Check and return the
Version
that should be used for theXcm
datum for the destinationLocation
, which will interpret it. - Used to get the version out of a versioned type.
- Attempt to convert
self
into a particular version of itself. - Convert an
Xcm
datum into aVersionedXcm
, based on a destinationLocation
which will interpret it.
Type Aliases§
WrapVersion
implementation which attempts to always convert the XCM to the latest version before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to the most recent Long- Term-Support version before wrapping it.- A version of XCM.