pub struct ScanWork {
pub entries: u64,
pub source_bytes: u64,
}Expand description
Resource work completed by one successful repository scan.
Fields§
§entries: u64Repository entries admitted by the scan budget, including folders.
source_bytes: u64Exact source bytes admitted by the scan budget while hashing files.
Trait Implementations§
impl Copy for ScanWork
impl Eq for ScanWork
impl StructuralPartialEq for ScanWork
Auto Trait Implementations§
impl Freeze for ScanWork
impl RefUnwindSafe for ScanWork
impl Send for ScanWork
impl Sync for ScanWork
impl Unpin for ScanWork
impl UnwindSafe for ScanWork
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.