Trait ProgressHandler
Source pub trait ProgressHandler {
// Provided methods
fn init(&mut self, steps: i64) { ... }
fn inc(&mut self) { ... }
fn finish(&mut self) { ... }
}
Expand description
Use this trait if you want more detailed information about the progress of the align operation
(which might take some seconds).
Will be called one time before inc() is called. steps is the
number of times inc() will be called.
The number of steps is around the number of lines in the “incorrect” subtitle.
Be aware that this number can be zero!
We made (small) progress!
Will be called after the last inc(), when inc() was called steps times.