pub fn assert_hook_unique_order(list: Vec<HookType>)Expand description
Verifies that hooks with the same type and execution priority are unique.
This function validates that no two hooks of the same type have identical execution priorities (orders). Only hooks that define an explicit priority (non-None order) are checked for uniqueness. Hooks without a priority are ignored in duplicate detection.
§Arguments
Vec<HookType>- A vector ofHookTypeinstances to validate for uniqueness.
§Panics
- Panics if duplicate hooks are detected with the same type and priority, displaying the hook type and order in the error message.