Module xcm_executor::traits
source · Expand description
Various traits used in configuring the executor.
Modules
Structs
- A structure that performs identity conversion.
- A structure that performs standard conversion using the standard Rust conversion traits.
- Properyies of an XCM message and its imminent execution.
Enums
- Errors associated with
MatchesFungibles
operation. - Context under which a fee is paid.
- The possible state of an XCM query response.
Traits
- A service for exchanging assets.
- Define a handler for notification of an asset being locked and for the unlock instruction.
- Defines how a call is dispatched with given origin. Allows to customize call dispatch, such as adapting the origin based on the call or modifying the call.
- Trait to determine whether the execution engine is suspended from executing a given XCM.
- Define any handlers for the
AssetClaim
instruction. - Means of converting a location into an account identifier.
- A converter
trait
for origin types. - Define a handler for when some non-empty
Assets
value should be dropped. - Utility for delivering a message to a system under a different (non-local) consensus with a spoofed origin. This essentially defines the behaviour of the
ExportMessage
XCM instruction. - Handle stuff to do with taking fees in certain XCM instructions.
- FilterAssetLocationDeprecatedFilters assets/location pairs.
- Define what needs to be done upon receiving a query response.
- Provides methods to expect responses from XCMs and query their status.
- 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.
Functions
- Convenience function for using a
SendXcm
implementation. Just interprets thedest
and wraps both inSome
before passing them as as mutable references intoT::send_xcm
. - Convenience function for using a
SendXcm
implementation. Just interprets thedest
and wraps both inSome
before passing them as as mutable references intoT::send_xcm
.