[][src]Enum brotli2::CompressMode

[]
#[repr(isize)]
pub enum CompressMode {
    Generic,
    Text,
    Font,
}
[]

Possible choices for modes of compression

Variants

Generic
[]

Default compression mode, the compressor does not know anything in advance about the properties of the input.

Text
[]

Compression mode for utf-8 formatted text input.

Font
[]

Compression mode in WOFF 2.0.

Trait Implementations

impl Clone for CompressMode[src][+]

impl Copy for CompressMode[src]

impl Debug for CompressMode[src][+]

impl Eq for CompressMode[src]

impl PartialEq<CompressMode> for CompressMode[src][+]

impl StructuralEq for CompressMode[src]

impl StructuralPartialEq for CompressMode[src]

Auto Trait Implementations

impl RefUnwindSafe for CompressMode

impl Send for CompressMode

impl Sync for CompressMode

impl Unpin for CompressMode

impl UnwindSafe for CompressMode

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, 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.