pub struct PullProgress {
pub status: String,
pub digest: Option<String>,
pub total: Option<u64>,
pub completed: Option<u64>,
}Expand description
A progress update from Harness::pull_model, one per chunk of a streaming
download. status is always present ("pulling manifest", "success", …);
the byte counters appear once a layer is downloading, so a host can show a
percentage from completed/total aggregated across digests.
Fields§
§status: String§digest: Option<String>The layer this line reports on; None for phase lines (manifest,
success).
total: Option<u64>§completed: Option<u64>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 (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 PullProgress
impl Debug for PullProgress
impl Eq for PullProgress
Source§impl PartialEq for PullProgress
impl PartialEq for PullProgress
impl StructuralPartialEq for PullProgress
Auto 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