pub struct RepoScanStatus {Show 13 fields
pub schema_version: String,
pub phase: RepoScanPhase,
pub elapsed_ms: u64,
pub files_discovered: usize,
pub files_scanned: usize,
pub cards_found: usize,
pub last_path: Option<PathBuf>,
pub completed: bool,
pub partial: bool,
pub stop_reason: RepoStopReason,
pub cap: Option<usize>,
pub file_timings: Option<Vec<PerFileScanStats>>,
pub output_bytes: Option<u64>,
}Fields§
§schema_version: String§phase: RepoScanPhase§elapsed_ms: u64§files_discovered: usize§files_scanned: usize§cards_found: usize§last_path: Option<PathBuf>§completed: bool§partial: boolWhether this is a partial (bounded) scan result.
true for max-cards, timeout, and signal-terminated scans.
stop_reason: RepoStopReasonThe reason the scan stopped. None for a complete scan, or one of the
named stop reasons for a bounded/interrupted scan.
cap: Option<usize>The configured card cap when stop_reason == MaxCards; None otherwise.
file_timings: Option<Vec<PerFileScanStats>>Per-file timing breakdown for diagnostic use. Present only when the
scan covered fewer than FILE_TIMINGS_CAP files; None for large
scans (cap honesty: the field is absent, not silently truncated).
This is a diagnostic aperture only — not a coverage claim, proof,
UB-free, Miri-clean, site-execution, or performance guarantee.
output_bytes: Option<u64>Total bytes written to the output artifact(s) for this run. Some
only after the final report file is successfully written; None for
in-progress, error, timeout, signal-terminated, and capped states where
no final artifact was produced.
This is a diagnostic aperture only — it measures the disk footprint of this run’s output, not the files scanned. It is not a coverage claim, proof, UB-free, Miri-clean, site-execution, or performance guarantee.
Trait Implementations§
Source§impl Clone for RepoScanStatus
impl Clone for RepoScanStatus
Source§fn clone(&self) -> RepoScanStatus
fn clone(&self) -> RepoScanStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RepoScanStatus
impl Debug for RepoScanStatus
impl Eq for RepoScanStatus
Source§impl PartialEq for RepoScanStatus
impl PartialEq for RepoScanStatus
Source§fn eq(&self, other: &RepoScanStatus) -> bool
fn eq(&self, other: &RepoScanStatus) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepoScanStatus
Auto Trait Implementations§
impl Freeze for RepoScanStatus
impl RefUnwindSafe for RepoScanStatus
impl Send for RepoScanStatus
impl Sync for RepoScanStatus
impl Unpin for RepoScanStatus
impl UnsafeUnpin for RepoScanStatus
impl UnwindSafe for RepoScanStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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