[−][src]Function frame_support::weights::extract_actual_weight
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.