pub struct SecurityScanner { /* private fields */ }Expand description
Security scanner
Implementations§
Source§impl SecurityScanner
impl SecurityScanner
Sourcepub fn new(config: ScannerConfig) -> Self
pub fn new(config: ScannerConfig) -> Self
Create a new scanner with config
Sourcepub async fn scan_plugin(&self, package_path: &Path) -> Result<ScanResult>
pub async fn scan_plugin(&self, package_path: &Path) -> Result<ScanResult>
Scan a plugin package
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecurityScanner
impl RefUnwindSafe for SecurityScanner
impl Send for SecurityScanner
impl Sync for SecurityScanner
impl Unpin for SecurityScanner
impl UnwindSafe for SecurityScanner
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