referrerpolicy=no-referrer-when-downgrade

Trait staging_xcm::v5::XcmWeightInfo

source ·
pub trait XcmWeightInfo<Call> {
Show 52 methods // Required methods fn withdraw_asset(_0: &Assets) -> Weight; fn reserve_asset_deposited(_0: &Assets) -> Weight; fn receive_teleported_asset(_0: &Assets) -> Weight; fn query_response( query_id: &QueryId, response: &Response, max_weight: &Weight, querier: &Option<Location>, ) -> Weight; fn transfer_asset(assets: &Assets, beneficiary: &Location) -> Weight; fn transfer_reserve_asset( assets: &Assets, dest: &Location, xcm: &Xcm<()>, ) -> Weight; fn transact( origin_kind: &OriginKind, fallback_max_weight: &Option<Weight>, call: &DoubleEncoded<Call>, ) -> Weight; fn hrmp_new_channel_open_request( sender: &u32, max_message_size: &u32, max_capacity: &u32, ) -> Weight; fn hrmp_channel_accepted(recipient: &u32) -> Weight; fn hrmp_channel_closing( initiator: &u32, sender: &u32, recipient: &u32, ) -> Weight; fn clear_origin() -> Weight; fn descend_origin(_0: &InteriorLocation) -> Weight; fn report_error(_0: &QueryResponseInfo) -> Weight; fn deposit_asset(assets: &AssetFilter, beneficiary: &Location) -> Weight; fn deposit_reserve_asset( assets: &AssetFilter, dest: &Location, xcm: &Xcm<()>, ) -> Weight; fn exchange_asset( give: &AssetFilter, want: &Assets, maximal: &bool, ) -> Weight; fn initiate_reserve_withdraw( assets: &AssetFilter, reserve: &Location, xcm: &Xcm<()>, ) -> Weight; fn initiate_teleport( assets: &AssetFilter, dest: &Location, xcm: &Xcm<()>, ) -> Weight; fn report_holding( response_info: &QueryResponseInfo, assets: &AssetFilter, ) -> Weight; fn buy_execution(fees: &Asset, weight_limit: &WeightLimit) -> Weight; fn refund_surplus() -> Weight; fn set_error_handler(_0: &Xcm<Call>) -> Weight; fn set_appendix(_0: &Xcm<Call>) -> Weight; fn clear_error() -> Weight; fn claim_asset(assets: &Assets, ticket: &Location) -> Weight; fn trap(_0: &u64) -> Weight; fn subscribe_version( query_id: &QueryId, max_response_weight: &Weight, ) -> Weight; fn unsubscribe_version() -> Weight; fn burn_asset(_0: &Assets) -> Weight; fn expect_asset(_0: &Assets) -> Weight; fn expect_origin(_0: &Option<Location>) -> Weight; fn expect_error(_0: &Option<(u32, Error)>) -> Weight; fn expect_transact_status(_0: &MaybeErrorCode) -> Weight; fn query_pallet( module_name: &Vec<u8>, response_info: &QueryResponseInfo, ) -> Weight; fn expect_pallet( index: &u32, name: &Vec<u8>, module_name: &Vec<u8>, crate_major: &u32, min_crate_minor: &u32, ) -> Weight; fn report_transact_status(_0: &QueryResponseInfo) -> Weight; fn clear_transact_status() -> Weight; fn universal_origin(_0: &Junction) -> Weight; fn export_message( network: &NetworkId, destination: &InteriorLocation, xcm: &Xcm<()>, ) -> Weight; fn lock_asset(asset: &Asset, unlocker: &Location) -> Weight; fn unlock_asset(asset: &Asset, target: &Location) -> Weight; fn note_unlockable(asset: &Asset, owner: &Location) -> Weight; fn request_unlock(asset: &Asset, locker: &Location) -> Weight; fn set_fees_mode(jit_withdraw: &bool) -> Weight; fn set_topic(_0: &[u8; 32]) -> Weight; fn clear_topic() -> Weight; fn alias_origin(_0: &Location) -> Weight; fn unpaid_execution( weight_limit: &WeightLimit, check_origin: &Option<Location>, ) -> Weight; fn pay_fees(asset: &Asset) -> Weight; fn initiate_transfer( destination: &Location, remote_fees: &Option<AssetTransferFilter>, preserve_origin: &bool, assets: &Vec<AssetTransferFilter>, remote_xcm: &Xcm<()>, ) -> Weight; fn execute_with_origin( descendant_origin: &Option<InteriorLocation>, xcm: &Xcm<Call>, ) -> Weight; fn set_hints(hints: &BoundedVec<Hint, HintNumVariants>) -> Weight;
}

Required Methods§

source

fn withdraw_asset(_0: &Assets) -> Weight

source

fn reserve_asset_deposited(_0: &Assets) -> Weight

source

fn receive_teleported_asset(_0: &Assets) -> Weight

source

fn query_response( query_id: &QueryId, response: &Response, max_weight: &Weight, querier: &Option<Location>, ) -> Weight

source

fn transfer_asset(assets: &Assets, beneficiary: &Location) -> Weight

source

fn transfer_reserve_asset( assets: &Assets, dest: &Location, xcm: &Xcm<()>, ) -> Weight

source

fn transact( origin_kind: &OriginKind, fallback_max_weight: &Option<Weight>, call: &DoubleEncoded<Call>, ) -> Weight

source

fn hrmp_new_channel_open_request( sender: &u32, max_message_size: &u32, max_capacity: &u32, ) -> Weight

source

fn hrmp_channel_accepted(recipient: &u32) -> Weight

source

fn hrmp_channel_closing( initiator: &u32, sender: &u32, recipient: &u32, ) -> Weight

source

fn clear_origin() -> Weight

source

fn descend_origin(_0: &InteriorLocation) -> Weight

source

fn report_error(_0: &QueryResponseInfo) -> Weight

source

fn deposit_asset(assets: &AssetFilter, beneficiary: &Location) -> Weight

source

fn deposit_reserve_asset( assets: &AssetFilter, dest: &Location, xcm: &Xcm<()>, ) -> Weight

source

fn exchange_asset(give: &AssetFilter, want: &Assets, maximal: &bool) -> Weight

source

fn initiate_reserve_withdraw( assets: &AssetFilter, reserve: &Location, xcm: &Xcm<()>, ) -> Weight

source

fn initiate_teleport( assets: &AssetFilter, dest: &Location, xcm: &Xcm<()>, ) -> Weight

source

fn report_holding( response_info: &QueryResponseInfo, assets: &AssetFilter, ) -> Weight

source

fn buy_execution(fees: &Asset, weight_limit: &WeightLimit) -> Weight

source

fn refund_surplus() -> Weight

source

fn set_error_handler(_0: &Xcm<Call>) -> Weight

source

fn set_appendix(_0: &Xcm<Call>) -> Weight

source

fn clear_error() -> Weight

source

fn claim_asset(assets: &Assets, ticket: &Location) -> Weight

source

fn trap(_0: &u64) -> Weight

source

fn subscribe_version(query_id: &QueryId, max_response_weight: &Weight) -> Weight

source

fn unsubscribe_version() -> Weight

source

fn burn_asset(_0: &Assets) -> Weight

source

fn expect_asset(_0: &Assets) -> Weight

source

fn expect_origin(_0: &Option<Location>) -> Weight

source

fn expect_error(_0: &Option<(u32, Error)>) -> Weight

source

fn expect_transact_status(_0: &MaybeErrorCode) -> Weight

source

fn query_pallet( module_name: &Vec<u8>, response_info: &QueryResponseInfo, ) -> Weight

source

fn expect_pallet( index: &u32, name: &Vec<u8>, module_name: &Vec<u8>, crate_major: &u32, min_crate_minor: &u32, ) -> Weight

source

fn report_transact_status(_0: &QueryResponseInfo) -> Weight

source

fn clear_transact_status() -> Weight

source

fn universal_origin(_0: &Junction) -> Weight

source

fn export_message( network: &NetworkId, destination: &InteriorLocation, xcm: &Xcm<()>, ) -> Weight

source

fn lock_asset(asset: &Asset, unlocker: &Location) -> Weight

source

fn unlock_asset(asset: &Asset, target: &Location) -> Weight

source

fn note_unlockable(asset: &Asset, owner: &Location) -> Weight

source

fn request_unlock(asset: &Asset, locker: &Location) -> Weight

source

fn set_fees_mode(jit_withdraw: &bool) -> Weight

source

fn set_topic(_0: &[u8; 32]) -> Weight

source

fn clear_topic() -> Weight

source

fn alias_origin(_0: &Location) -> Weight

source

fn unpaid_execution( weight_limit: &WeightLimit, check_origin: &Option<Location>, ) -> Weight

source

fn pay_fees(asset: &Asset) -> Weight

source

fn initiate_transfer( destination: &Location, remote_fees: &Option<AssetTransferFilter>, preserve_origin: &bool, assets: &Vec<AssetTransferFilter>, remote_xcm: &Xcm<()>, ) -> Weight

source

fn execute_with_origin( descendant_origin: &Option<InteriorLocation>, xcm: &Xcm<Call>, ) -> Weight

source

fn set_hints(hints: &BoundedVec<Hint, HintNumVariants>) -> Weight

Object Safety§

This trait is not object safe.

Implementors§