Skip to main content

CacheAuditor

Trait CacheAuditor 

Source
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§

Source

fn judge(&self, input: &JudgmentInput) -> Verdict

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§