pub struct Progress {
pub current_file: String,
pub file_done: usize,
pub file_size: usize,
pub total_done: usize,
pub total_size: usize,
pub index: usize,
pub num_files: usize,
pub eta: usize,
}
Fields
current_file: String
Name of the file being transferred
file_done: usize
Number of bytes transfered for the current file
file_size: usize
Size of the current file (in bytes)
total_done: usize
Number of bytes transfered since the start
total_size: usize
Estimated total size of the transfer (this may change during transfer)
index: usize
Index of the current file in the list of all files to transfer
num_files: usize
Total number of files to transfer
eta: usize
Estimated time remaining for the transfer, in seconds