[−][src]Trait alass_cli::video_decoder::ProgressHandler
Use this trait if you want more detailed information about the progress of operations.
Provided methods
fn init(&mut self, steps: i64)
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!
fn inc(&mut self)
We made (small) progress!
fn finish(&mut self)
Will be called after the last inc()
, when inc()
was called steps
times.