pub enum MediaTypes {
ManifestV2S1,
ManifestV2S1Signed,
ManifestV2S2,
ManifestList,
ImageLayerTgz,
ContainerConfigV1,
OciImageManifest,
OciImageIndexV1,
ApplicationJson,
}Variants§
ManifestV2S1
Manifest, version 2 schema 1.
ManifestV2S1Signed
Signed manifest, version 2 schema 1.
ManifestV2S2
Manifest, version 2 schema 2.
ManifestList
Manifest List (aka “fat manifest”).
ImageLayerTgz
Image layer, as a gzip-compressed tar.
ContainerConfigV1
Configuration object for a container.
OciImageManifest
OCI Manifest
OciImageIndexV1
ApplicationJson
Generic JSON
Implementations§
Trait Implementations§
Source§impl Clone for MediaTypes
impl Clone for MediaTypes
Source§fn clone(&self) -> MediaTypes
fn clone(&self) -> MediaTypes
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 MediaTypes
impl Debug for MediaTypes
Source§impl Display for MediaTypes
impl Display for MediaTypes
Source§impl EnumProperty for MediaTypes
impl EnumProperty for MediaTypes
Source§impl FromStr for MediaTypes
impl FromStr for MediaTypes
Source§impl Hash for MediaTypes
impl Hash for MediaTypes
Source§impl PartialEq for MediaTypes
impl PartialEq for MediaTypes
Source§impl TryFrom<&str> for MediaTypes
impl TryFrom<&str> for MediaTypes
impl Eq for MediaTypes
impl StructuralPartialEq for MediaTypes
Auto Trait Implementations§
impl Freeze for MediaTypes
impl RefUnwindSafe for MediaTypes
impl Send for MediaTypes
impl Sync for MediaTypes
impl Unpin for MediaTypes
impl UnwindSafe for MediaTypes
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.