pub struct TransferResult {
pub bytes_transferred: u64,
pub total_size: u64,
pub computed_digest: String,
pub resumed: bool,
pub checkpoints_saved: u64,
}Expand description
Result of a streaming transfer operation.
Fields§
§bytes_transferred: u64Total bytes transferred in this session (may be less than total if resumed).
total_size: u64Total blob size.
computed_digest: StringComputed SHA256 digest of the full content.
resumed: boolWhether the transfer was resumed from a checkpoint.
checkpoints_saved: u64Number of checkpoints saved during this transfer.
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 · 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