pub trait ProgressInfo {
    fn start(&mut self, source: &str, destination: &str) { ... }
fn new_file(&mut self, name: &str) { ... }
fn done_syncing(&mut self) { ... }
fn progress(&mut self, progress: &Progress) { ... }
fn end(&mut self, stats: &Stats) { ... }
fn error(&mut self, entry: &str, details: &str) { ... } }
Expand description

Trait for implementing rusync progress details

Provided methods

A new transfer has begun from the source directory to the destination directory

A new file named name is being transfered

The file transfer is done

Callback for the detailed progress

The transfer between source and destination is done. Details of the transfer in the Stats struct

The entry could not be synced

Implementors