Enum ostree_ext::container::store::ImportProgress
source · pub enum ImportProgress {
OstreeChunkStarted(Descriptor),
OstreeChunkCompleted(Descriptor),
DerivedLayerStarted(Descriptor),
DerivedLayerCompleted(Descriptor),
}Expand description
Sent across a channel to track start and end of a container fetch.
Variants§
OstreeChunkStarted(Descriptor)
Started fetching this layer.
OstreeChunkCompleted(Descriptor)
Successfully completed the fetch of this layer.
DerivedLayerStarted(Descriptor)
Started fetching this layer.
DerivedLayerCompleted(Descriptor)
Successfully completed the fetch of this layer.
Implementations§
source§impl ImportProgress
impl ImportProgress
sourcepub fn is_starting(&self) -> bool
pub fn is_starting(&self) -> bool
Returns true if this message signifies the start of a new layer being fetched.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ImportProgress
impl Send for ImportProgress
impl Sync for ImportProgress
impl Unpin for ImportProgress
impl UnwindSafe for ImportProgress
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