Skip to main content

Check

Trait Check 

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

Source

fn id(&self) -> &'static str

Source

fn intent(&self) -> &'static str

Source

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".

Implementors§