Skip to main content

Scanner

Trait Scanner 

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

Required Methods§

Source

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

Source

fn scan(&self, ctx: &ScanContext) -> Result<Vec<Finding>>

Implementors§