pub struct Progress {
pub bytes_transferred: u64,
pub total_bytes: Option<u64>,
}Expand description
Progress information for a file transfer.
Fields§
§bytes_transferred: u64Bytes transferred so far.
total_bytes: Option<u64>Total file size (if known).
Implementations§
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 UnsafeUnpin 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