Crate staging_xcm

source ·
Expand description

Cross-Consensus Message format data structures.

Modules§

  • v2Deprecated
    XCM Version 2
  • Version 3 of the Cross-Consensus Message format data structures.
  • Version 4 of the Cross-Consensus Message format data structures.

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.
  • 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§

  • Check and return the Version that should be used for the Xcm datum for the destination Location, 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 a VersionedXcm, based on a destination Location which will interpret it.

Type Aliases§