The storage class of the parameter.
Whether or not the parameter is const.
Whether or not the event handler is annotated .fiber(true).
The module name of the plugin.
The signature string of the function.
true if the storage class is valid; asserts 0 if not.
Statically asserts that a parameter storage class is not ref if inFiber, and neither ref nor out if not inFiber.
Take the storage class as a template parameter and statically assert inside this function, unlike how udaSanityCheck returns false on failure, so we can format and print the error message once here (instead of at all call sites upon receiving false).