Trait xcm_builder::test_utils::FilterAssetLocation
source · pub trait FilterAssetLocation {
fn filter_asset_location(asset: &MultiAsset, origin: &MultiLocation) -> bool;
}
Expand description
Filters assets/location pairs.
Can be amalgamated into tuples. If any item returns true
, it short-circuits, else false
is returned.
Required Methods§
sourcefn filter_asset_location(asset: &MultiAsset, origin: &MultiLocation) -> bool
fn filter_asset_location(asset: &MultiAsset, origin: &MultiLocation) -> bool
A filter to distinguish between asset/location pairs.