pub trait CacheAuditor: Send + Sync {
// Required method
fn judge(&self, input: &JudgmentInput) -> Verdict;
}Expand description
The audit engine (pluggable; RuleAuditor is the built-in rules engine).
Required Methods§
fn judge(&self, input: &JudgmentInput) -> Verdict
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".