pub struct TransferResult {
pub bytes_transferred: u64,
pub duration_ms: u64,
}Expand description
Result of an SCP file transfer operation.
Fields§
§bytes_transferred: u64Number of bytes transferred.
duration_ms: u64Total duration in milliseconds.
Trait Implementations§
Source§impl Clone for TransferResult
impl Clone for TransferResult
Source§fn clone(&self) -> TransferResult
fn clone(&self) -> TransferResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransferResult
impl RefUnwindSafe for TransferResult
impl Send for TransferResult
impl Sync for TransferResult
impl Unpin for TransferResult
impl UnsafeUnpin for TransferResult
impl UnwindSafe for TransferResult
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