pub struct Progress {
pub bytes_processed: u64,
pub total_bytes: u64,
}Expand description
The current progress of an operation.
Fields§
§bytes_processed: u64The number of bytes processed so far.
total_bytes: u64The total bytes in the file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
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