pub struct OciProgress {
pub phase: OciProgressPhase,
pub digest: Option<String>,
pub layers: IndexMap<String, OciProgressLayer>,
pub indication: OciProgressIndication,
}Fields§
§phase: OciProgressPhase§digest: Option<String>§layers: IndexMap<String, OciProgressLayer>§indication: OciProgressIndicationImplementations§
Source§impl OciProgress
impl OciProgress
pub fn new() -> Self
pub fn start_resolving(&mut self)
pub fn resolved(&mut self, digest: &str)
pub fn add_layer(&mut self, id: &str)
pub fn downloading_layer(&mut self, id: &str, downloaded: u64, total: u64)
pub fn downloaded_layer(&mut self, id: &str, total: u64)
pub fn start_assemble(&mut self)
pub fn start_extracting_layer(&mut self, id: &str)
pub fn extracting_layer(&mut self, id: &str, file: &str)
pub fn extracted_layer(&mut self, id: &str, count: u64, total_size: u64)
pub fn start_packing(&mut self)
pub fn complete(&mut self, size: u64)
Trait Implementations§
Source§impl Clone for OciProgress
impl Clone for OciProgress
Source§fn clone(&self) -> OciProgress
fn clone(&self) -> OciProgress
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 moreSource§impl Debug for OciProgress
impl Debug for OciProgress
Auto Trait Implementations§
impl Freeze for OciProgress
impl RefUnwindSafe for OciProgress
impl Send for OciProgress
impl Sync for OciProgress
impl Unpin for OciProgress
impl UnwindSafe for OciProgress
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