pub trait DropAssets {
    // Required method
    fn drop_assets(
        origin: &Location,
        assets: AssetsInHolding,
        context: &XcmContext
    ) -> Weight;
}
Expand description

Define a handler for when some non-empty AssetsInHolding value should be dropped.

Required Methods§

source

fn drop_assets( origin: &Location, assets: AssetsInHolding, context: &XcmContext ) -> Weight

Handler for receiving dropped assets. Returns the weight consumed by this operation.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DropAssets for ()

source§

fn drop_assets( _origin: &Location, _assets: AssetsInHolding, _context: &XcmContext ) -> Weight

Implementors§