Trait rusync::progress::ProgressInfo
source · [−]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
fn done_syncing(&mut self)
fn done_syncing(&mut self)
The file transfer is done
The transfer between source
and destination
is done. Details
of the transfer in the Stats struct