pub enum PullProgress {
Show 14 variants
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,
},
LayerDownloadVerifying {
layer_index: usize,
digest: Arc<str>,
},
LayerMaterializeStarted {
layer_index: usize,
diff_id: Arc<str>,
},
LayerMaterializeProgress {
layer_index: usize,
bytes_read: u64,
total_bytes: u64,
},
LayerMaterializeWriting {
layer_index: usize,
},
LayerMaterializeComplete {
layer_index: usize,
diff_id: Arc<str>,
},
StitchMergingTrees {
layer_count: usize,
},
StitchWritingFsmeta,
StitchWritingVmdk,
StitchComplete,
Complete {
reference: Arc<str>,
layer_count: usize,
},
}Expand description
Progress events emitted during image pull and EROFS materialization.
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
LayerDownloadVerifying
Layer download completed and the blob is being verified.
LayerMaterializeStarted
Layer EROFS materialization started.
LayerMaterializeProgress
Byte-level materialization progress for a single layer.
Fields
LayerMaterializeWriting
Layer tar ingest is complete and the EROFS image is being written.
LayerMaterializeComplete
Layer EROFS materialization completed.
StitchMergingTrees
Merging per-layer trees into the unified rootfs view.
StitchWritingFsmeta
Writing the fsmeta EROFS image (metadata-only merged view).
StitchWritingVmdk
Writing the VMDK descriptor that stitches fsmeta + layer EROFSes.
StitchComplete
Stitching phase finished — fsmeta + VMDK are on disk.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more