pub struct ScanOutcome {
pub tasks: Vec<Task>,
pub stats: ProcessingStats,
}Expand description
What a scan produced: the tasks themselves plus the diagnostics the CLI
prints as its per-run summary. Embedders can ignore stats, but it is the
only channel that reports skipped and failed files, so dropping it silently
would hide a partial result.
Fields§
§tasks: Vec<Task>Tasks extracted from every matching file, in walk order.
stats: ProcessingStatsPer-run counters: processed / skipped / failed files, warnings, and whether the walk was cut short by the task cap or by an interrupt.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanOutcome
impl RefUnwindSafe for ScanOutcome
impl Send for ScanOutcome
impl Sync for ScanOutcome
impl Unpin for ScanOutcome
impl UnsafeUnpin for ScanOutcome
impl UnwindSafe for ScanOutcome
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