pub struct UpdateProgress {
pub target: UpdateTarget,
pub sent: usize,
pub total: usize,
}Expand description
Staged transfer progress, for a progress callback.
Fields§
§target: UpdateTarget§sent: usize§total: usizeImplementations§
Trait Implementations§
Source§impl Clone for UpdateProgress
impl Clone for UpdateProgress
impl Copy for UpdateProgress
Source§impl Debug for UpdateProgress
impl Debug for UpdateProgress
impl Eq for UpdateProgress
Source§impl Hash for UpdateProgress
impl Hash for UpdateProgress
Source§impl PartialEq for UpdateProgress
impl PartialEq for UpdateProgress
impl StructuralPartialEq for UpdateProgress
Auto Trait Implementations§
impl Freeze for UpdateProgress
impl RefUnwindSafe for UpdateProgress
impl Send for UpdateProgress
impl Sync for UpdateProgress
impl Unpin for UpdateProgress
impl UnsafeUnpin for UpdateProgress
impl UnwindSafe for UpdateProgress
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