pub struct CorsScanner;Implementations§
Trait Implementations§
Source§impl Scanner for CorsScanner
impl Scanner for CorsScanner
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable scanner identifier used for logging, metrics, and reporting.
Source§fn scan<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
url: &'life1 str,
client: &'life2 HttpClient,
config: &'life3 Config,
) -> Pin<Box<dyn Future<Output = (Vec<Finding>, Vec<CapturedError>)> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn scan<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
url: &'life1 str,
client: &'life2 HttpClient,
config: &'life3 Config,
) -> Pin<Box<dyn Future<Output = (Vec<Finding>, Vec<CapturedError>)> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Run this scanner against a single URL.
Auto Trait Implementations§
impl Freeze for CorsScanner
impl RefUnwindSafe for CorsScanner
impl Send for CorsScanner
impl Sync for CorsScanner
impl Unpin for CorsScanner
impl UnsafeUnpin for CorsScanner
impl UnwindSafe for CorsScanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more