Type Alias CheckFn

Source
pub type CheckFn = fn() -> Result<(CheckResult, String), Box<dyn Error + Send + Sync>>;
Expand description

Type of function that performs a check

This should return the severity level and a message describing the situation

Multi-line messages are supported, the framework handles alignment.