pub trait Reporter {
fn last_check(&self) -> Check;
fn raw_status(&self) -> Status { ... }
fn status(&self) -> Option<Status> { ... }
}
Expand description
A health status reporter
Required Methods
fn last_check(&self) -> Check
fn last_check(&self) -> Check
The result of the most recent health check
Because it may take multiple checks to cause the health status to change, this value may match the current health status.
Provided Methods
fn raw_status(&self) -> Status
fn raw_status(&self) -> Status
The current health status without regard to any reliance criteria