Type Definition frame_support::weights::Weight
source · [−]pub type Weight = u64;
Expand description
Numeric range of a transaction weight.
Trait Implementations
sourceimpl<T> ClassifyDispatch<T> for Weight
impl<T> ClassifyDispatch<T> for Weight
sourcefn classify_dispatch(&self, _: T) -> DispatchClass
fn classify_dispatch(&self, _: T) -> DispatchClass
Classify the dispatch function based on input data target
of type T
. When implementing
this for a dispatchable, T
will be a tuple of all arguments given to the function (except
origin). Read more