#[non_exhaustive]pub enum ImageSourceClassification {
Portable,
Local,
Unqualified,
Tagless,
}Expand description
The portable classification of an image source without changing its spelling.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Portable
A registry-qualified source with an explicit tag or sha256 digest.
Local
An explicitly local source such as localhost/example:1 or a content ID.
Unqualified
A repository without an explicit registry hostname.
Tagless
A registry-qualified repository without an explicit tag or digest.
Trait Implementations§
Source§impl Clone for ImageSourceClassification
impl Clone for ImageSourceClassification
Source§fn clone(&self) -> ImageSourceClassification
fn clone(&self) -> ImageSourceClassification
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 moreimpl Copy for ImageSourceClassification
Source§impl Debug for ImageSourceClassification
impl Debug for ImageSourceClassification
impl Eq for ImageSourceClassification
impl StructuralPartialEq for ImageSourceClassification
Auto Trait Implementations§
impl Freeze for ImageSourceClassification
impl RefUnwindSafe for ImageSourceClassification
impl Send for ImageSourceClassification
impl Sync for ImageSourceClassification
impl Unpin for ImageSourceClassification
impl UnsafeUnpin for ImageSourceClassification
impl UnwindSafe for ImageSourceClassification
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