Statics§
- JOB_
REGISTRY - Global job registry holding job name → handler mappings.
Functions§
- get_
job_ handler - Try to get a handler from the registry for a given job type.
- get_
registered_ jobs - Get a copy of the registered job handlers.
- register_
job - Register a job type and its deserialization handler function.
Type Aliases§
- Handler
Fn - Type alias for job handler functions.
These handlers take a serialized JSON
Stringand return a boxedJobtrait object.