Skip to main content

HealthStatusExt

Trait HealthStatusExt 

Source
pub trait HealthStatusExt {
    // Required methods
    fn healthy(message: impl Into<String>) -> Self;
    fn unhealthy(message: impl Into<String>) -> Self;
}

Required Methods§

Source

fn healthy(message: impl Into<String>) -> Self

Create a healthy status

Source

fn unhealthy(message: impl Into<String>) -> Self

Create an unhealthy status

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§