pub trait ClaimAssets {
// Required method
fn claim_assets(
origin: &Location,
ticket: &Location,
what: &Assets,
context: &XcmContext,
) -> bool;
}
Expand description
Define any handlers for the AssetClaim
instruction.
Required Methods§
Sourcefn claim_assets(
origin: &Location,
ticket: &Location,
what: &Assets,
context: &XcmContext,
) -> bool
fn claim_assets( origin: &Location, ticket: &Location, what: &Assets, context: &XcmContext, ) -> bool
Claim any assets available to origin
and return them in a single Assets
value, together
with the weight used by this operation.
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.