pub enum PullProgress {
Resolving {
reference: Arc<str>,
},
Resolved {
reference: Arc<str>,
manifest_digest: Arc<str>,
layer_count: usize,
total_download_bytes: Option<u64>,
},
LayerDownloadProgress {
layer_index: usize,
digest: Arc<str>,
downloaded_bytes: u64,
total_bytes: Option<u64>,
},
LayerDownloadComplete {
layer_index: usize,
digest: Arc<str>,
downloaded_bytes: u64,
},
LayerExtractStarted {
layer_index: usize,
diff_id: Arc<str>,
},
LayerExtractProgress {
layer_index: usize,
bytes_read: u64,
total_bytes: u64,
},
LayerExtractComplete {
layer_index: usize,
diff_id: Arc<str>,
},
LayerIndexStarted {
layer_index: usize,
},
LayerIndexComplete {
layer_index: usize,
},
Complete {
reference: Arc<str>,
layer_count: usize,
},
}Expand description
Progress events emitted during image pull and layer extraction.
Variants§
Resolving
Resolving the image reference.
Resolved
Manifest parsed. Layer count and total sizes now known.
Fields
LayerDownloadProgress
Byte-level download progress for a single layer.
Fields
LayerDownloadComplete
A single layer download completed and verified.
Fields
LayerExtractStarted
Layer extraction started.
LayerExtractProgress
Byte-level extraction progress for a single layer. Tracks compressed bytes read from the layer tarball.
Fields
LayerExtractComplete
Layer extraction completed.
LayerIndexStarted
Sidecar index generation started for a layer.
LayerIndexComplete
Sidecar index generation completed for a layer.
Complete
Entire image pull completed.
Trait Implementations§
Source§impl Clone for PullProgress
impl Clone for PullProgress
Source§fn clone(&self) -> PullProgress
fn clone(&self) -> PullProgress
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 moreAuto Trait Implementations§
impl Freeze for PullProgress
impl RefUnwindSafe for PullProgress
impl Send for PullProgress
impl Sync for PullProgress
impl Unpin for PullProgress
impl UnsafeUnpin for PullProgress
impl UnwindSafe for PullProgress
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