Module xcm_executor::traits

source ·
Expand description

Various traits used in configuring the executor.

Structs

  • Implementation of Convert<Vec<u8>, _> using the parity scale codec.
  • Implementation of Convert<_, Vec<u8>> using the parity scale codec.
  • Simple pass-through which implements BytesConversion while not doing any conversion.
  • Implementation of Convert trait using TryFrom.

Enums

Traits

  • Define any handlers for the AssetClaim instruction.
  • Generic third-party conversion trait. Use this when you don’t want to force the user to use default implementations of From and Into for the types you wish to convert between.
  • A converter trait for origin types.
  • Define a handler for when some non-empty Assets value should be dropped.
  • Filters assets/location pairs.
  • Means of inverting a location: given a location which describes a target interpreted from the source, this will provide the corresponding location which describes the source.
  • Define what needs to be done upon receiving a query response.
  • Trait to determine whether the execution engine should actually execute a given XCM.
  • Facility for asset transacting.
  • Trait for a type which handles notifying a destination of XCM version changes.
  • Determine the weight of an XCM message.
  • Charge for weight in order to execute XCM.