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