pub trait TypedChecker<T>: Send + Sync {
// Required method
fn check_and_fix_typed(
&self,
ctx: &UserContext,
entity: &mut T,
status: CheckObjectStatus,
location: &ObjectLocation,
results: &mut CheckResults,
);
}Expand description
Typed version of Checker that works with concrete entity types (T)
instead of generic Records.
Implement this trait for per-entity checker logic structs, then wrap
them in TypedEntityChecker so they satisfy the Checker trait
expected by InMemoryCheckerRegistry.