pub struct SyncChunkProgress {
pub transfer_id: String,
pub total_bytes: u64,
pub payload_sha256: String,
pub received_bytes: u64,
pub missing: Vec<SyncChunkRange>,
}Expand description
Payload-free progress information for a resumable transfer.
Fields§
§transfer_id: StringStable identifier for the logical transfer.
total_bytes: u64Total payload length in bytes.
payload_sha256: StringLowercase SHA-256 digest of the complete payload.
received_bytes: u64Number of unique bytes retained by the assembler.
missing: Vec<SyncChunkRange>Missing byte ranges, in ascending order.
Trait Implementations§
Source§impl Clone for SyncChunkProgress
impl Clone for SyncChunkProgress
Source§impl Debug for SyncChunkProgress
impl Debug for SyncChunkProgress
Source§impl<'de> Deserialize<'de> for SyncChunkProgress
impl<'de> Deserialize<'de> for SyncChunkProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SyncChunkProgress
Source§impl PartialEq for SyncChunkProgress
impl PartialEq for SyncChunkProgress
Source§impl Serialize for SyncChunkProgress
impl Serialize for SyncChunkProgress
impl StructuralPartialEq for SyncChunkProgress
Auto Trait Implementations§
impl Freeze for SyncChunkProgress
impl RefUnwindSafe for SyncChunkProgress
impl Send for SyncChunkProgress
impl Sync for SyncChunkProgress
impl Unpin for SyncChunkProgress
impl UnsafeUnpin for SyncChunkProgress
impl UnwindSafe for SyncChunkProgress
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