pub struct Scan {
pub root: PathBuf,
pub definitions: Vec<Definition>,
pub files_scanned: usize,
pub bytes_scanned: u64,
pub skipped: Skipped,
pub ignore_files: Vec<String>,
pub elapsed: Duration,
}Expand description
Every definition in the tree, for callers that want the whole index.
Fields§
§root: PathBuf§definitions: Vec<Definition>§files_scanned: usize§bytes_scanned: u64§skipped: Skipped§ignore_files: Vec<String>§elapsed: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnsafeUnpin for Scan
impl UnwindSafe for Scan
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