pub struct ProgressUpdate {
pub fetched: usize,
pub total: usize,
}Expand description
A single fetch-progress observation: fetched out of total packages processed so far.
Fields§
§fetched: usizeNumber of packages fetched so far.
total: usizeTotal number of packages being fetched in this run.
Trait Implementations§
Source§impl Clone for ProgressUpdate
impl Clone for ProgressUpdate
impl Copy for ProgressUpdate
Auto Trait Implementations§
impl Freeze for ProgressUpdate
impl RefUnwindSafe for ProgressUpdate
impl Send for ProgressUpdate
impl Sync for ProgressUpdate
impl Unpin for ProgressUpdate
impl UnsafeUnpin 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