pub trait HealthCheck {
// Required method
fn check(&self) -> Health;
}Expand description
Probes a freshly-applied version to decide whether it commits or rolls back.
Required Methods§
Sourcefn check(&self) -> Health
fn check(&self) -> Health
Probe the applied version. Health::Healthy commits; anything else
triggers the auto-rollback.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".