pub trait ProgressInfo {
// Provided methods
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§
Sourcefn start(&mut self, source: &str, destination: &str)
fn start(&mut self, source: &str, destination: &str)
A new transfer has begun from the source
directory to the destination
directory
Sourcefn done_syncing(&mut self)
fn done_syncing(&mut self)
The file transfer is done