Expand description
Cross-Consensus Message format data structures.
Modules
Version 0 of the Cross-Consensus Message format data structures.
XCM Version 1
XCM Version 2
Structs
WrapVersion
implementation which attempts to always convert the XCM to version 0 before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to version 1 before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to version 2 before wrapping it.Wrapper around the encoded and decoded versions of a value.
Caches the decoded value once computed.
Enums
A single
MultiAsset
value, together with its version code.A single
MultiAssets
value, together with its version code.A single
MultiLocation
value, together with its version code.A single
Response
value, together with its version code.A single XCM message, together with its version code.
Constants
Maximum nesting level for XCM decoding.
Traits
Attempt to convert
self
into a particular version of itself.Convert an
Xcm
datum into a VersionedXcm
, based on a destination MultiLocation
which will interpret it.Type Definitions
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 release version before wrapping it.A version of XCM.