pub trait ActivationHealthCheck: Send + Sync {
// Required method
fn check(&self, artifact: &ArtifactDescriptor) -> UpdateResult<()>;
}Expand description
Health gate executed after an artifact becomes active.
Required Methods§
Sourcefn check(&self, artifact: &ArtifactDescriptor) -> UpdateResult<()>
fn check(&self, artifact: &ArtifactDescriptor) -> UpdateResult<()>
Returns success only when the activated application is healthy.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".