Skip to main content

ProgressReporter

Trait ProgressReporter 

Source
pub trait ProgressReporter {
    // Required methods
    fn start(&mut self, total_bytes: usize);
    fn advance(&mut self, bytes: usize);
    fn finish(&mut self);
}

Required Methods§

Source

fn start(&mut self, total_bytes: usize)

Source

fn advance(&mut self, bytes: usize)

Source

fn finish(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§