pub enum CodecKind {
Passthrough,
NvcompBitcomp,
NvcompGans,
NvcompZstd,
DietGpuAns,
CpuZstd,
NvcompGDeflate,
CpuGzip,
}Expand description
圧縮 codec の種類 (manifest に記録、後段の decompress で codec を確定するために使う)
Variants§
Passthrough
NvcompBitcomp
NvcompGans
NvcompZstd
DietGpuAns
CpuZstd
NvcompGDeflate
nvCOMP GDeflate (v0.2 #9). DEFLATE-family GPU codec; output bytes are NOT gzip-compatible at the wire level (different framing) but the algorithm-level format aligns with stock DEFLATE/zlib decoders given the right wrapper.
CpuGzip
CPU gzip via flate2 (v0.4 #26). Produces RFC 1952 gzip output that
any standard gunzip-aware client can decode without knowing about
S4. Pair with the Content-Encoding: gzip header to serve to a
browser / curl that’s never heard of S4.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodecKind
impl<'de> Deserialize<'de> for CodecKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for CodecKind
impl Eq for CodecKind
impl StructuralPartialEq for CodecKind
Auto Trait Implementations§
impl Freeze for CodecKind
impl RefUnwindSafe for CodecKind
impl Send for CodecKind
impl Sync for CodecKind
impl Unpin for CodecKind
impl UnsafeUnpin for CodecKind
impl UnwindSafe for CodecKind
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