pub struct ChunkProgress {
pub chunk_id: ChunkId,
pub chunk_index: usize,
pub total_chunks: usize,
pub chunk_percent: f32,
pub overall_percent: f32,
pub eta: Option<Duration>,
}Expand description
Progress report for a single chunk.
Fields§
§chunk_id: ChunkIdWhich chunk this progress belongs to.
chunk_index: usizeIndex in the sequence.
total_chunks: usizeTotal number of chunks.
chunk_percent: f32Progress within this chunk (0.0 – 1.0).
overall_percent: f32Overall progress across all chunks (0.0 – 1.0).
eta: Option<Duration>Estimated time remaining for the entire operation.
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 (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 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