pub struct ParallelScanner { /* private fields */ }Expand description
High-performance parallel scanner
Implementations§
Source§impl ParallelScanner
impl ParallelScanner
Sourcepub fn new(registry: Arc<PluginRegistry>) -> Self
pub fn new(registry: Arc<PluginRegistry>) -> Self
Create a new parallel scanner
Trait Implementations§
Source§impl Scanner for ParallelScanner
impl Scanner for ParallelScanner
Source§fn scan(&self, config: &ScanConfig) -> Result<ScanResult>
fn scan(&self, config: &ScanConfig) -> Result<ScanResult>
Run the scan with the given configuration
Source§fn progress(&self) -> Arc<ScanProgress>
fn progress(&self) -> Arc<ScanProgress>
Get the progress tracker
Auto Trait Implementations§
impl Freeze for ParallelScanner
impl !RefUnwindSafe for ParallelScanner
impl Send for ParallelScanner
impl Sync for ParallelScanner
impl Unpin for ParallelScanner
impl !UnwindSafe for ParallelScanner
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more