pub fn extract_actual_weight(
    result: &DispatchResultWithPostInfo,
    info: &DispatchInfo
) -> Weight
Expand description

Extract the actual weight from a dispatch result if any or fall back to the default weight.