pub enum PulledImage {
Pulled,
Cached {
pull_error: String,
},
Present,
}Expand description
How an image became available for a launch.
Variants§
Pulled
The registry served the image.
Cached
The pull failed transiently but the image was already cached locally, so the cached copy is used. Carries the pull’s error for logging.
Present
ensure_image found the image already cached and did not pull.
Trait Implementations§
Source§impl Clone for PulledImage
impl Clone for PulledImage
Source§fn clone(&self) -> PulledImage
fn clone(&self) -> PulledImage
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 PulledImage
impl Debug for PulledImage
impl Eq for PulledImage
Source§impl PartialEq for PulledImage
impl PartialEq for PulledImage
impl StructuralPartialEq for PulledImage
Auto Trait Implementations§
impl Freeze for PulledImage
impl RefUnwindSafe for PulledImage
impl Send for PulledImage
impl Sync for PulledImage
impl Unpin for PulledImage
impl UnsafeUnpin for PulledImage
impl UnwindSafe for PulledImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.