pub struct ScanSummary {
pub selected_files: usize,
pub selected_bytes: u64,
pub hashed_files: usize,
pub binary_checked_files: usize,
pub recorded_skips: usize,
pub skipped_by_kind: BTreeMap<SkipKind, usize>,
pub warnings: usize,
pub ignore_sources: usize,
pub complete: bool,
pub termination: Option<ScanTermination>,
pub portable: bool,
pub cache: ScanCacheStats,
}Expand description
Path-free aggregate scan output for logs, telemetry, and higher-level tools.
recorded_skips and skipped_by_kind describe retained evidence. They are
zero when the scan used crate::EvidenceMode::SelectedFiles, even when
entries were excluded during selection.
Fields§
§selected_files: usize§selected_bytes: u64§hashed_files: usize§binary_checked_files: usize§recorded_skips: usize§skipped_by_kind: BTreeMap<SkipKind, usize>§warnings: usize§ignore_sources: usize§complete: bool§termination: Option<ScanTermination>§portable: bool§cache: ScanCacheStatsTrait Implementations§
Source§impl Clone for ScanSummary
impl Clone for ScanSummary
Source§fn clone(&self) -> ScanSummary
fn clone(&self) -> ScanSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanSummary
impl Debug for ScanSummary
Source§impl Display for ScanSummary
impl Display for ScanSummary
impl Eq for ScanSummary
Source§impl PartialEq for ScanSummary
impl PartialEq for ScanSummary
impl StructuralPartialEq for ScanSummary
Auto Trait Implementations§
impl Freeze for ScanSummary
impl RefUnwindSafe for ScanSummary
impl Send for ScanSummary
impl Sync for ScanSummary
impl Unpin for ScanSummary
impl UnsafeUnpin for ScanSummary
impl UnwindSafe for ScanSummary
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