pub fn validate_hook_scope( hook: HookName, scope: &ScopeSelector, ) -> Result<(), RmuxError>
Validates that a hook may be stored at the requested scope.