#[non_exhaustive]pub enum AnalysisProgress {
EntryAnalyzed {
path: PathBuf,
},
}Expand description
Deliberately a separate, smaller enum from crate::progress::Progress
rather than a reuse: Progress (and the Handle<T> it’s threaded
through) live behind the operations feature, which analyze
doesn’t require — see AnalysisHandle’s doc comment for the same
reasoning applied one level up.
#[non_exhaustive] for the same reason as Progress: adding a
variant later shouldn’t be a breaking change for an exhaustive match.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EntryAnalyzed
Emitted once per matched entry (after filters, not per entry walked) as the tree is scanned.
Trait Implementations§
Source§impl Clone for AnalysisProgress
impl Clone for AnalysisProgress
Source§fn clone(&self) -> AnalysisProgress
fn clone(&self) -> AnalysisProgress
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 moreAuto Trait Implementations§
impl Freeze for AnalysisProgress
impl RefUnwindSafe for AnalysisProgress
impl Send for AnalysisProgress
impl Sync for AnalysisProgress
impl Unpin for AnalysisProgress
impl UnsafeUnpin for AnalysisProgress
impl UnwindSafe for AnalysisProgress
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