referrerpolicy=no-referrer-when-downgrade

Function frame_support::dispatch::extract_actual_weight

source ·
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.