pub enum LayerCompression {
Uncompressed,
Gzip,
Zstd,
}Expand description
OCI layer compression labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LayerCompression
impl Clone for LayerCompression
Source§fn clone(&self) -> LayerCompression
fn clone(&self) -> LayerCompression
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 LayerCompression
impl Debug for LayerCompression
Source§impl Display for LayerCompression
impl Display for LayerCompression
Source§impl Hash for LayerCompression
impl Hash for LayerCompression
Source§impl Ord for LayerCompression
impl Ord for LayerCompression
Source§fn cmp(&self, other: &LayerCompression) -> Ordering
fn cmp(&self, other: &LayerCompression) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayerCompression
impl PartialEq for LayerCompression
Source§fn eq(&self, other: &LayerCompression) -> bool
fn eq(&self, other: &LayerCompression) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LayerCompression
impl PartialOrd for LayerCompression
impl Copy for LayerCompression
impl Eq for LayerCompression
impl StructuralPartialEq for LayerCompression
Auto Trait Implementations§
impl Freeze for LayerCompression
impl RefUnwindSafe for LayerCompression
impl Send for LayerCompression
impl Sync for LayerCompression
impl Unpin for LayerCompression
impl UnsafeUnpin for LayerCompression
impl UnwindSafe for LayerCompression
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