Crate xcm

source ·
Expand description

Cross-Consensus Message format data structures.

Modules

Structs

  • WrapVersion implementation which attempts to always convert the XCM to version 2 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

Constants

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 most recent Long- Term-Support version before wrapping it.
  • A version of XCM.