Trait ProgressReporter

Source
pub trait ProgressReporter: Send {
    // Required methods
    fn start(&mut self, total: u64);
    fn progress(&mut self, progress: u64);
    fn finish(&mut self);
}
Expand description

A progress reporter.

Required Methods§

Source

fn start(&mut self, total: u64)

Start the progress with the given total.

Source

fn progress(&mut self, progress: u64)

A progress update.

Source

fn finish(&mut self)

Finish the progress.

Implementors§