Skip to main content

Module worker

Module worker 

Source

Structs§

WorkerHealth
Health state for one pool worker.
WorkerPool
In-process worker pool with bounded queues and health-aware routing.
WorkerPoolOptions
Worker lifecycle and scheduling configuration.
WorkerProtocolError
Protocol-level error payload returned by workers and pool guards.
WorkerRequest
Worker protocol request payload.
WorkerResponse
Worker protocol response payload.
WorkerSecurityPolicy
Request hardening limits for worker pool submit path.

Enums§

WorkerErrorCode
Stable worker error codes.
WorkerHealthStatus
Coarse worker health statuses used by scheduler.
WorkerOperation
Worker protocol operation variants.
WorkerPoolError
Pool-level errors surfaced to runtime callers.
WorkerResult
Worker protocol result variants.

Traits§

CircuitBreakerHooks
Optional hook surface for circuit breaker integration.
WorkerHandler
Host-implemented worker behavior for in-process worker pools.
WorkerPoolClient
Adapter trait for worker pools used by runtime integrations.