Trait parallel_disk_usage::reporter::ParallelReporter [−][src]
pub trait ParallelReporter<Data: Size>: Reporter<Data> { type DestructionError; fn destroy(self) -> Result<(), Self::DestructionError>; }
Expand description
Utilize threads to report progress.
Associated Types
type DestructionError[src]
type DestructionError[src]Error type of the destroy method.
Required methods
fn destroy(self) -> Result<(), Self::DestructionError>[src]
fn destroy(self) -> Result<(), Self::DestructionError>[src]Stop all threads.
Implementors
impl<Data, ReportError> ParallelReporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>), [src]
impl<Data, ReportError> ParallelReporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>), [src]impl<Data, ReportError> ParallelReporter<Data> for ProgressAndErrorReporter<Data, ReportError> where
Data: Size + Send + Sync,
ReportError: Fn(ErrorReport<'_>) + Sync, [src]
impl<Data, ReportError> ParallelReporter<Data> for ProgressAndErrorReporter<Data, ReportError> where
Data: Size + Send + Sync,
ReportError: Fn(ErrorReport<'_>) + Sync, [src]