Trait xcm_executor::traits::DropAssets
source · pub trait DropAssets {
fn drop_assets(origin: &MultiLocation, assets: Assets) -> Weight;
}
Expand description
Define a handler for when some non-empty Assets
value should be dropped.
Required Methods§
sourcefn drop_assets(origin: &MultiLocation, assets: Assets) -> Weight
fn drop_assets(origin: &MultiLocation, assets: Assets) -> Weight
Handler for receiving dropped assets. Returns the weight consumed by this operation.