Struct rsure::Progress [] [src]

pub struct Progress {
    // some fields omitted
}

Methods

impl Progress
[src]

fn new(files: u64, bytes: u64) -> Progress

Construct a progress meter, with the given number of files and bytes as an estimate.

fn update(&mut self, files: u64, bytes: u64)

Update the progress meter.

fn flush(&mut self)

Flush the output, regardless of if any update is needed.