pub struct ChunkProgress {
pub chunk_id: usize,
pub start_byte: u64,
pub end_byte: u64,
pub downloaded: u64,
pub active: bool,
}Expand description
Progress information for a single chunk
Fields§
§chunk_id: usize§start_byte: u64§end_byte: u64§downloaded: u64§active: boolTrait 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