pub enum CompressionCodec {
None,
Zstd,
}Expand description
Compression codec applied to a blob payload before it is written to the file.
The codec name is recorded in the blob’s compression-codec metadata so
readers can decompress lazily without scanning unrelated blobs.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CompressionCodec
impl Clone for CompressionCodec
Source§fn clone(&self) -> CompressionCodec
fn clone(&self) -> CompressionCodec
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 CompressionCodec
impl Debug for CompressionCodec
Source§impl PartialEq for CompressionCodec
impl PartialEq for CompressionCodec
Source§fn eq(&self, other: &CompressionCodec) -> bool
fn eq(&self, other: &CompressionCodec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompressionCodec
impl Eq for CompressionCodec
impl StructuralPartialEq for CompressionCodec
Auto Trait Implementations§
impl Freeze for CompressionCodec
impl RefUnwindSafe for CompressionCodec
impl Send for CompressionCodec
impl Sync for CompressionCodec
impl Unpin for CompressionCodec
impl UnsafeUnpin for CompressionCodec
impl UnwindSafe for CompressionCodec
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