pub trait WeightInfo {
Show 24 methods
// Required methods
fn send() -> Weight;
fn teleport_assets() -> Weight;
fn reserve_transfer_assets() -> Weight;
fn transfer_assets() -> Weight;
fn execute() -> Weight;
fn force_xcm_version() -> Weight;
fn force_default_xcm_version() -> Weight;
fn force_subscribe_version_notify() -> Weight;
fn force_unsubscribe_version_notify() -> Weight;
fn force_suspension() -> Weight;
fn migrate_supported_version() -> Weight;
fn migrate_version_notifiers() -> Weight;
fn already_notified_target() -> Weight;
fn notify_current_targets() -> Weight;
fn notify_target_migration_fail() -> Weight;
fn migrate_version_notify_targets() -> Weight;
fn migrate_and_notify_old_targets() -> Weight;
fn new_query() -> Weight;
fn take_response() -> Weight;
fn claim_assets(n: u32) -> Weight;
fn add_authorized_alias() -> Weight;
fn remove_authorized_alias() -> Weight;
fn weigh_message(n: u32) -> Weight;
fn decode_xcm(n: u32) -> Weight;
}Required Methods§
fn send() -> Weight
fn teleport_assets() -> Weight
fn reserve_transfer_assets() -> Weight
fn transfer_assets() -> Weight
fn execute() -> Weight
fn force_xcm_version() -> Weight
fn force_default_xcm_version() -> Weight
fn force_subscribe_version_notify() -> Weight
fn force_unsubscribe_version_notify() -> Weight
fn force_suspension() -> Weight
fn migrate_supported_version() -> Weight
fn migrate_version_notifiers() -> Weight
fn already_notified_target() -> Weight
fn notify_current_targets() -> Weight
fn notify_target_migration_fail() -> Weight
fn migrate_version_notify_targets() -> Weight
fn migrate_and_notify_old_targets() -> Weight
fn new_query() -> Weight
fn take_response() -> Weight
fn claim_assets(n: u32) -> Weight
Sourcefn weigh_message(n: u32) -> Weight
fn weigh_message(n: u32) -> Weight
Weight of decoding and weighing an XCM message of n bytes.
Scales with size rather than with MAX_INSTRUCTIONS_TO_DECODE: a Transact carrying a
local call has that call decoded eagerly and weighed via get_dispatch_info, so a batch
call makes both costs scale with the number of nested calls.
Callers that also charge a flat small-message weight (e.g. Self::execute) pay this
base constant twice; that over-charge is deliberate.
Sourcefn decode_xcm(n: u32) -> Weight
fn decode_xcm(n: u32) -> Weight
Weight of decoding, but not weighing, an XCM message of n bytes.
Cheaper than Self::weigh_message because Transact payloads stay opaque.
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.