Struct jatsl::StatusServer [−][src]
pub struct StatusServer { /* fields omitted */ }
Expand description
HTTP healthcheck server
Makes the job status list available as an HTTP endpoint. Commonly used for Kubernetes or Docker health probes. Note that the server does not automatically schedule itself so you have to start it as a job on a scheduler yourself!
Implementations
Creates a new server for the given scheduler and port configuration
Trait Implementations
Whether or not the job honors the termination signal. When this is set to false the job will be terminated externally.
Auto Trait Implementations
impl !RefUnwindSafe for StatusServer
impl Send for StatusServer
impl Sync for StatusServer
impl Unpin for StatusServer
impl !UnwindSafe for StatusServer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more