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.
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.- Wrapper around the encoded and decoded versions of a value. Caches the decoded value once computed.
Enums
- A single version’s
Responsevalue, together with its version code. - A single
InteriorMultiLocationvalue, together with its version code. - A single
Junctionvalue, together with its version code. - A single
MultiAssetvalue, together with its version code. - A single
MultiAssetsvalue, together with its version code. - A single
MultiLocationvalue, 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.
Traits
- Attempt to convert
selfinto a particular version of itself. - Convert an
Xcmdatum into aVersionedXcm, based on a destinationMultiLocationwhich will interpret it.
Type Definitions
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.