pub trait Check: Send + Sync {
// Required methods
fn id(&self) -> &'static str;
fn intent(&self) -> &'static str;
fn run(&self, ctx: &Context) -> Vec<Finding>;
}Required Methods§
fn id(&self) -> &'static str
fn intent(&self) -> &'static str
fn run(&self, ctx: &Context) -> Vec<Finding>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".