Function pallet_collective::get_result_weight
source · pub(crate) fn get_result_weight(
result: DispatchResultWithPostInfo
) -> Option<Weight>
Expand description
Return the weight of a dispatch call result as an Option
.
Will return the weight regardless of what the state of the result is.