#[repr(C)]
pub enum BrotliDecoderErrorCode {
Show 29 variants BROTLI_DECODER_NO_ERROR, BROTLI_DECODER_SUCCESS, BROTLI_DECODER_NEEDS_MORE_INPUT, BROTLI_DECODER_NEEDS_MORE_OUTPUT, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE, BROTLI_DECODER_ERROR_FORMAT_RESERVED, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME, BROTLI_DECODER_ERROR_FORMAT_CL_SPACE, BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE, BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2, BROTLI_DECODER_ERROR_FORMAT_TRANSFORM, BROTLI_DECODER_ERROR_FORMAT_DICTIONARY, BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS, BROTLI_DECODER_ERROR_FORMAT_PADDING_1, BROTLI_DECODER_ERROR_FORMAT_PADDING_2, BROTLI_DECODER_ERROR_FORMAT_DISTANCE, BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET, BROTLI_DECODER_ERROR_INVALID_ARGUMENTS, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES, BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2, BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES, BROTLI_DECODER_ERROR_UNREACHABLE,
}

Variants§

§

BROTLI_DECODER_NO_ERROR

§

BROTLI_DECODER_SUCCESS

§

BROTLI_DECODER_NEEDS_MORE_INPUT

§

BROTLI_DECODER_NEEDS_MORE_OUTPUT

§

BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE

§

BROTLI_DECODER_ERROR_FORMAT_RESERVED

§

BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE

§

BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET

§

BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME

§

BROTLI_DECODER_ERROR_FORMAT_CL_SPACE

§

BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE

§

BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT

§

BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1

§

BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2

§

BROTLI_DECODER_ERROR_FORMAT_TRANSFORM

§

BROTLI_DECODER_ERROR_FORMAT_DICTIONARY

§

BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS

§

BROTLI_DECODER_ERROR_FORMAT_PADDING_1

§

BROTLI_DECODER_ERROR_FORMAT_PADDING_2

§

BROTLI_DECODER_ERROR_FORMAT_DISTANCE

§

BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET

§

BROTLI_DECODER_ERROR_INVALID_ARGUMENTS

§

BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES

§

BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS

§

BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP

§

BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1

§

BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2

§

BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES

§

BROTLI_DECODER_ERROR_UNREACHABLE

Trait Implementations§

source§

impl Clone for BrotliDecoderErrorCode

source§

fn clone(&self) -> BrotliDecoderErrorCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BrotliDecoderErrorCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for BrotliDecoderErrorCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.