Trait frame_support::weights::GetDispatchInfo[][src]

pub trait GetDispatchInfo {
    fn get_dispatch_info(&self) -> DispatchInfo;
Expand description

A Dispatchable function (aka transaction) that can carry some static information along with it, using the #[weight] attribute.

Required methods

Return a DispatchInfo, containing relevant information of this dispatch.

This is done independently of its encoded size.

Implementations on Foreign Types

Implementation for unchecked extrinsic.

Implementation for checked extrinsic.

Implementation for test extrinsic.