pub struct UploadProgress {
pub bytes_sent: u64,
pub total_bytes: Option<u64>,
pub percent: Option<f32>,
}Expand description
Upload progress report.
Fields§
§bytes_sent: u64Bytes sent so far.
total_bytes: Option<u64>Total bytes to send (if known).
percent: Option<f32>Completion percentage (if total is known).
Auto Trait Implementations§
impl Freeze for UploadProgress
impl RefUnwindSafe for UploadProgress
impl Send for UploadProgress
impl Sync for UploadProgress
impl Unpin for UploadProgress
impl UnsafeUnpin for UploadProgress
impl UnwindSafe for UploadProgress
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