Trait ParallelReporter

Source
pub trait ParallelReporter<Size: Size>: Reporter<Size> {
    type DestructionError;

    // Required method
    fn destroy(self) -> Result<(), Self::DestructionError>;
}
Expand description

Utilize threads to report progress.

Required Associated Types§

Source

type DestructionError

Error type of the destroy method.

Required Methods§

Source

fn destroy(self) -> Result<(), Self::DestructionError>

Stop all threads.

Implementors§

Source§

impl<Size, ReportError> ParallelReporter<Size> for ErrorOnlyReporter<ReportError>
where Size: Size, ReportError: Fn(ErrorReport<'_>),

Source§

impl<Size, ReportError> ParallelReporter<Size> for ProgressAndErrorReporter<Size, ReportError>
where Size: Size + Into<u64> + Send + Sync, ReportError: Fn(ErrorReport<'_>) + Sync, u64: Into<Size>,