Skip to main content

HealthCheckResult

Type Alias HealthCheckResult 

Source
pub type HealthCheckResult = Result<HealthCheckResponse, HealthCheckError>;
Expand description

The result of a single health check.

Aliased Type§

pub enum HealthCheckResult {
    Ok(HealthCheckResponse),
    Err(HealthCheckError),
}

Variants§

§1.0.0

Ok(HealthCheckResponse)

Contains the success value

§1.0.0

Err(HealthCheckError)

Contains the error value