pub struct TransferStats {
pub bytes_transferred: u64,
pub bytes_total: Option<u64>,
pub files_transferred: u32,
pub files_total: Option<u32>,
pub percent: Option<u8>,
}Expand description
Snapshot of transfer progress stats.
Fields§
§bytes_transferred: u64§bytes_total: Option<u64>§files_transferred: u32§files_total: Option<u32>§percent: Option<u8>Trait Implementations§
Source§impl Clone for TransferStats
impl Clone for TransferStats
impl Copy for TransferStats
Source§impl Debug for TransferStats
impl Debug for TransferStats
Auto Trait Implementations§
impl Freeze for TransferStats
impl RefUnwindSafe for TransferStats
impl Send for TransferStats
impl Sync for TransferStats
impl Unpin for TransferStats
impl UnsafeUnpin for TransferStats
impl UnwindSafe for TransferStats
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