referrerpolicy=no-referrer-when-downgrade
snowbridge_inbound_queue_primitives::v2::traits

Trait ConvertMessage

Source
pub trait ConvertMessage {
    // Required method
    fn convert(message: Message) -> Result<Xcm<()>, ConvertMessageError>;
}
Expand description

Converts an inbound message from Ethereum to an XCM message that can be executed on a parachain.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<CreateAssetCall, CreateAssetDeposit, EthereumNetwork, InboundQueueLocation, ConvertAssetId, GatewayProxyAddress, EthereumUniversalLocation, GlobalAssetHubLocation> ConvertMessage for MessageToXcm<CreateAssetCall, CreateAssetDeposit, EthereumNetwork, InboundQueueLocation, ConvertAssetId, GatewayProxyAddress, EthereumUniversalLocation, GlobalAssetHubLocation>
where CreateAssetCall: Get<CallIndex>, CreateAssetDeposit: Get<u128>, EthereumNetwork: Get<NetworkId>, InboundQueueLocation: Get<InteriorLocation>, ConvertAssetId: MaybeEquivalence<TokenId, Location>, GatewayProxyAddress: Get<H160>, EthereumUniversalLocation: Get<InteriorLocation>, GlobalAssetHubLocation: Get<Location>,