pub struct StatsCollector { /* private fields */ }Expand description
StatCollector is responsible for aggregating statistics as the filesystem is traversed, as well as parsing a DirEntry’s file type
Implementations§
Source§impl StatsCollector
impl StatsCollector
pub fn new() -> StatsCollector
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatsCollector
impl RefUnwindSafe for StatsCollector
impl Send for StatsCollector
impl Sync for StatsCollector
impl Unpin for StatsCollector
impl UnsafeUnpin for StatsCollector
impl UnwindSafe for StatsCollector
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