pub struct ChunkProgress {
pub chunk_index: u32,
pub total_chunks: u32,
pub bytes_transferred: u64,
pub chunk_size: u64,
pub chunk_checksum: Option<String>,
}Expand description
Progress information for a single chunk during transfer.
Fields§
§chunk_index: u32Zero-based index of the current chunk.
total_chunks: u32Total number of chunks in the transfer.
bytes_transferred: u64Bytes transferred in this chunk.
chunk_size: u64Total bytes for this chunk.
chunk_checksum: Option<String>BLAKE3 checksum of this chunk (hex-encoded).
Implementations§
Source§impl ChunkProgress
impl ChunkProgress
Trait Implementations§
Source§impl Clone for ChunkProgress
impl Clone for ChunkProgress
Source§fn clone(&self) -> ChunkProgress
fn clone(&self) -> ChunkProgress
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 moreSource§impl Debug for ChunkProgress
impl Debug for ChunkProgress
Source§impl<'de> Deserialize<'de> for ChunkProgress
impl<'de> Deserialize<'de> for ChunkProgress
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
Source§impl PartialEq for ChunkProgress
impl PartialEq for ChunkProgress
Source§impl Serialize for ChunkProgress
impl Serialize for ChunkProgress
impl Eq for ChunkProgress
impl StructuralPartialEq for ChunkProgress
Auto Trait Implementations§
impl Freeze for ChunkProgress
impl RefUnwindSafe for ChunkProgress
impl Send for ChunkProgress
impl Sync for ChunkProgress
impl Unpin for ChunkProgress
impl UnsafeUnpin for ChunkProgress
impl UnwindSafe for ChunkProgress
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