Struct parallel_disk_usage::fs_tree_builder::FsTreeBuilder [−][src]
pub struct FsTreeBuilder<Data, GetData, Report> where
Data: Size + Send + Sync,
GetData: Fn(&Metadata) -> Data + Sync,
Report: Reporter<Data> + Sync, { pub root: PathBuf, pub get_data: GetData, pub reporter: Report, }
Fields
root: PathBufRoot of the directory tree.
get_data: GetDataReturns size of an item.
reporter: ReportReports progress to external system.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<Data, GetData, Report> RefUnwindSafe for FsTreeBuilder<Data, GetData, Report> where
GetData: RefUnwindSafe,
Report: RefUnwindSafe, impl<Data, GetData, Report> Send for FsTreeBuilder<Data, GetData, Report> where
GetData: Send,
Report: Send, impl<Data, GetData, Report> Sync for FsTreeBuilder<Data, GetData, Report>impl<Data, GetData, Report> Unpin for FsTreeBuilder<Data, GetData, Report> where
GetData: Unpin,
Report: Unpin, impl<Data, GetData, Report> UnwindSafe for FsTreeBuilder<Data, GetData, Report> where
GetData: UnwindSafe,
Report: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
Apply f to self. Read more
Apply f to &self. Read more
Apply f to &mut self. Read more
Apply f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read more
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read more
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Param>. Read more
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Param>. Read more
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Param>. Read more
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Param>. Read more