pub struct ScanRunner { /* private fields */ }Expand description
Orchestrates historical scan phases in deterministic phase-number order.
Implementations§
Source§impl ScanRunner
impl ScanRunner
Sourcepub fn register_phase(&mut self, phase: Box<dyn ScanPhase>)
pub fn register_phase(&mut self, phase: Box<dyn ScanPhase>)
Registers a phase and preserves stable phase-number ordering.
Sourcepub async fn run_pipeline(
&self,
context: ScanContext,
) -> Result<RunReport, RunReportError>
pub async fn run_pipeline( &self, context: ScanContext, ) -> Result<RunReport, RunReportError>
Executes every registered phase and returns a typed, serializable report.
Errors and timeouts are isolated to their phase and make the report partial (or failed when no phase succeeds). Host cancellation stops the active phase future and marks later phases skipped. Dropping this future also drops the active phase future instead of detaching it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScanRunner
impl !UnwindSafe for ScanRunner
impl Freeze for ScanRunner
impl Send for ScanRunner
impl Sync for ScanRunner
impl Unpin for ScanRunner
impl UnsafeUnpin for ScanRunner
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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