pub struct ScanExecutor { /* private fields */ }Expand description
Executor for running scans.
Note: This is a skeleton for v1.x. The actual executor implementation will be added in future versions.
Implementations§
Source§impl ScanExecutor
impl ScanExecutor
Sourcepub fn new(context: ScanContext) -> Self
pub fn new(context: ScanContext) -> Self
Create a new scan executor.
Sourcepub fn context(&self) -> &ScanContext
pub fn context(&self) -> &ScanContext
Get the scan context.
Sourcepub fn run(&mut self) -> Result<ScanResult>
pub fn run(&mut self) -> Result<ScanResult>
Run the scan.
Note: This is a skeleton that returns an empty result. The actual implementation will use the pipeline to execute each stage.
Auto Trait Implementations§
impl Freeze for ScanExecutor
impl RefUnwindSafe for ScanExecutor
impl Send for ScanExecutor
impl Sync for ScanExecutor
impl Unpin for ScanExecutor
impl UnwindSafe for ScanExecutor
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