pub struct Outcome {
pub read_dir_calls: u32,
pub returned_entries: usize,
pub seen_entries: u32,
}
Expand description
Additional information collected as outcome of walk()
.
Fields§
§read_dir_calls: u32
The amount of calls to read the directory contents.
returned_entries: usize
The amount of returned entries provided to the callback. This number can be lower than seen_entries
.
seen_entries: u32
The amount of entries, prior to pathspecs filtering them out or otherwise excluding them.
Trait Implementations§
source§impl Ord for Outcome
impl Ord for Outcome
source§impl PartialOrd for Outcome
impl PartialOrd for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)