pub struct ChunkProgress {
pub chunk_id: ChunkId,
pub ordinal: u32,
pub state: ChunkState,
pub downloaded_bytes: u64,
pub object_identity: Option<String>,
pub attempts: u32,
}Expand description
Persisted resume metadata; object identity prevents cross-object range append.
Fields§
§chunk_id: ChunkId§ordinal: u32§state: ChunkState§downloaded_bytes: u64§object_identity: Option<String>§attempts: u32Trait 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 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
impl Eq for ChunkProgress
Source§impl PartialEq for ChunkProgress
impl PartialEq for ChunkProgress
Source§impl Serialize for ChunkProgress
impl Serialize 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