pub struct TransferInfo {
pub start: f64,
pub host: Host,
pub activity_id: ActivityId,
pub bytes_transferred: u64,
pub total_bytes: Option<u64>,
}Expand description
Transfer information (download/upload)
Fields§
§start: f64§host: Host§activity_id: ActivityId§bytes_transferred: u64§total_bytes: Option<u64>Trait Implementations§
Source§impl Clone for TransferInfo
impl Clone for TransferInfo
Source§fn clone(&self) -> TransferInfo
fn clone(&self) -> TransferInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TransferInfo
impl RefUnwindSafe for TransferInfo
impl Send for TransferInfo
impl Sync for TransferInfo
impl Unpin for TransferInfo
impl UnsafeUnpin for TransferInfo
impl UnwindSafe for TransferInfo
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