pub struct HealthModule;Expand description
Imports the composite GET /health readiness endpoint, plus
GET /health/live (liveness probe) and GET /health/ready (readiness probe).
Also imports GET /version returning build metadata.
Registered HealthIndicators are checked in parallel on each request.
The aggregate status is ok (200), degraded (207), or unhealthy (503).
Trait Implementations§
Source§impl Module for HealthModule
impl Module for HealthModule
Source§fn definition() -> ModuleDefinition
fn definition() -> ModuleDefinition
Returns the module’s explicit definition.
Auto Trait Implementations§
impl Freeze for HealthModule
impl RefUnwindSafe for HealthModule
impl Send for HealthModule
impl Sync for HealthModule
impl Unpin for HealthModule
impl UnsafeUnpin for HealthModule
impl UnwindSafe for HealthModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more