pub struct HttpProgress {
pub received: usize,
pub total: Option<usize>,
}Expand description
Download progress information.
Fields§
§received: usizeBytes received so far
total: Option<usize>Total expected bytes (if Content-Length known)
Implementations§
Trait Implementations§
Source§impl Clone for HttpProgress
impl Clone for HttpProgress
Source§fn clone(&self) -> HttpProgress
fn clone(&self) -> HttpProgress
Returns a copy 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 moreSource§impl Debug for HttpProgress
impl Debug for HttpProgress
impl Copy for HttpProgress
Auto Trait Implementations§
impl Freeze for HttpProgress
impl RefUnwindSafe for HttpProgress
impl Send for HttpProgress
impl Sync for HttpProgress
impl Unpin for HttpProgress
impl UnwindSafe for HttpProgress
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