Module registry

Module registry 

Source

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§

HandlerFn
Type alias for job handler functions. These handlers take a serialized JSON String and return a boxed Job trait object.