pub struct AnalyzedEntry {
pub path: PathBuf,
pub relative_path: PathBuf,
pub size: u64,
pub modified: Option<SystemTime>,
}Expand description
A file discovered and matched by AnalyzeBuilder’s filters.
Deliberately a separate type from profiler::Entry rather than a
reuse: profiler (and everything in it) is gated behind the
operations feature, while analyze doesn’t require operations —
reaching into profiler::Entry would force every analyze-only
build to pull in the whole copy/move/sync pipeline just for this
struct.
Fields§
§path: PathBuf§relative_path: PathBuf§size: u64§modified: Option<SystemTime>None when the platform/filesystem doesn’t report mtimes.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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