pub struct ScanReport { /* private fields */ }Expand description
Summary returned by scan_for_changes.
Implementations§
Source§impl ScanReport
impl ScanReport
Sourcepub fn get_scan_from(&self) -> &ItemId
pub fn get_scan_from(&self) -> &ItemId
Returns the ItemId used as the scan root.
Sourcepub fn get_added(&self) -> &Vec<ExternalChange>
pub fn get_added(&self) -> &Vec<ExternalChange>
Returns all newly discovered items in the scanned scope.
Sourcepub fn get_removed(&self) -> &Vec<ExternalChange>
pub fn get_removed(&self) -> &Vec<ExternalChange>
Returns tracked ItemId values that were missing on disk.
Sourcepub fn get_unchanged_count(&self) -> usize
pub fn get_unchanged_count(&self) -> usize
Returns how many tracked ItemId values stayed the same in this scan area.
Sourcepub fn get_total_changed_count(&self) -> usize
pub fn get_total_changed_count(&self) -> usize
Returns total number of changed items (added + removed).
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
Returns a duplicate of the value. Read more
1.0.0 · 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 ScanReport
impl Debug for ScanReport
Source§impl PartialEq for ScanReport
impl PartialEq for ScanReport
impl StructuralPartialEq for ScanReport
Auto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
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