Function frame_support::weights::extract_actual_weight [−][src]
pub fn extract_actual_weight(
result: &DispatchResultWithPostInfo,
info: &DispatchInfo
) -> Weight
Extract the actual weight from a dispatch result if any or fall back to the default weight.