pub struct ProgressUpdate {
pub current_file: String,
pub current_size: u64,
pub total_size: u64,
pub current_file_index: usize,
pub total_files: usize,
pub speed: f64,
pub elapsed: Duration,
pub estimated_remaining: Duration,
}Fields§
§current_file: String§current_size: u64§total_size: u64§current_file_index: usize§total_files: usize§speed: f64§elapsed: Duration§estimated_remaining: DurationTrait Implementations§
Source§impl Clone for ProgressUpdate
impl Clone for ProgressUpdate
Source§fn clone(&self) -> ProgressUpdate
fn clone(&self) -> ProgressUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProgressUpdate
impl RefUnwindSafe for ProgressUpdate
impl Send for ProgressUpdate
impl Sync for ProgressUpdate
impl Unpin for ProgressUpdate
impl UnwindSafe for ProgressUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more