Enum KnownMediaType
pub enum KnownMediaType {
ImageManifest,
ImageIndex,
ImageConfig,
ArtifactManifest,
LayerTar,
LayerTarGzip,
LayerTarZstd,
}Expand description
Known OCI media type labels.
Variants§
Implementations§
§impl KnownMediaType
impl KnownMediaType
Trait Implementations§
§impl Clone for KnownMediaType
impl Clone for KnownMediaType
§fn clone(&self) -> KnownMediaType
fn clone(&self) -> KnownMediaType
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 more§impl Debug for KnownMediaType
impl Debug for KnownMediaType
§impl Display for KnownMediaType
impl Display for KnownMediaType
§impl From<KnownMediaType> for OciMediaType
impl From<KnownMediaType> for OciMediaType
§fn from(value: KnownMediaType) -> OciMediaType
fn from(value: KnownMediaType) -> OciMediaType
Converts to this type from the input type.
§impl FromStr for KnownMediaType
impl FromStr for KnownMediaType
§impl Hash for KnownMediaType
impl Hash for KnownMediaType
§impl Ord for KnownMediaType
impl Ord for KnownMediaType
§impl PartialEq for KnownMediaType
impl PartialEq for KnownMediaType
§impl PartialOrd for KnownMediaType
impl PartialOrd for KnownMediaType
impl Copy for KnownMediaType
impl Eq for KnownMediaType
impl StructuralPartialEq for KnownMediaType
Auto Trait Implementations§
impl Freeze for KnownMediaType
impl RefUnwindSafe for KnownMediaType
impl Send for KnownMediaType
impl Sync for KnownMediaType
impl Unpin for KnownMediaType
impl UnsafeUnpin for KnownMediaType
impl UnwindSafe for KnownMediaType
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