[][src]Enum smush::Codec

pub enum Codec {
    Gzip,
    Deflate,
    Zlib,
    Zstd,
    Brotli,
    Lz4,
    Xz,
    BinCode,
    Base58,
    Identity,
    // some variants omitted
}

A value to represent an encoding

Variants

Gzip

The gzip encoding.

Deflate

The deflate encoding.

Zlib

The zlib encoding.

Zstd

The zstd encoding.

Brotli

The brotli encoding.

Lz4

The 'lz4' encoding.

Xz

The 'xz' encoding (also known as lzma).

BinCode

The 'bincode' encoding.

Base58

The 'base58' encoding.

Identity

The identity encoding.

Trait Implementations

impl Clone for Codec[src]

impl Copy for Codec[src]

impl Debug for Codec[src]

impl Display for Codec[src]

impl FromStr for Codec[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<Codec> for Codec[src]

impl StructuralPartialEq for Codec[src]

Auto Trait Implementations

impl RefUnwindSafe for Codec

impl Send for Codec

impl Sync for Codec

impl Unpin for Codec

impl UnwindSafe for Codec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.