Trait staging_xcm_builder::ExporterFor
source · pub trait ExporterFor {
// Required method
fn exporter_for(
network: &NetworkId,
remote_location: &InteriorLocation,
message: &Xcm<()>,
) -> Option<(Location, Option<Asset>)>;
}
Required Methods§
sourcefn exporter_for(
network: &NetworkId,
remote_location: &InteriorLocation,
message: &Xcm<()>,
) -> Option<(Location, Option<Asset>)>
fn exporter_for( network: &NetworkId, remote_location: &InteriorLocation, message: &Xcm<()>, ) -> Option<(Location, Option<Asset>)>
Return the locally-routable bridge (if any) capable of forwarding message
to the
remote_location
on the remote network
, together with the payment which is required.
The payment is specified from the local context, not the bridge chain. This is the
total amount to withdraw in to Holding and should cover both payment for the execution on
the bridge chain and payment for the use of the ExportMessage
instruction.
Object Safety§
This trait is not object safe.