pub trait RuntimeCheck<S> {
// Required methods
fn name(&self) -> &str;
fn execute(&self, state: &S) -> CheckResult;
// Provided method
fn priority(&self) -> u8 { ... }
}Expand description
A runtime check that can be executed.
Required Methods§
Sourcefn execute(&self, state: &S) -> CheckResult
fn execute(&self, state: &S) -> CheckResult
Execute the check.