pub trait Scanner: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn scan(&self, ctx: &ScanContext) -> Result<Vec<Finding>>;
}Expand description
Every scanner implements this trait.
pub trait Scanner: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn scan(&self, ctx: &ScanContext) -> Result<Vec<Finding>>;
}Every scanner implements this trait.