pub trait Adapter {
// Required methods
fn name(&self) -> &str;
fn run(&self) -> Vec<CheckResult>;
}Expand description
In-process adapter trait. Implement this to conform a subject natively.
Required Methods§
Sourcefn run(&self) -> Vec<CheckResult>
fn run(&self) -> Vec<CheckResult>
Run all checks and return their results.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".