#[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
impl Clone for BrotliDecoderErrorCode
source§fn clone(&self) -> BrotliDecoderErrorCode
fn clone(&self) -> BrotliDecoderErrorCode
Returns a copy of the value. Read more
1.0.0 · 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 BrotliDecoderErrorCode
impl Debug for BrotliDecoderErrorCode
impl Copy for BrotliDecoderErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for BrotliDecoderErrorCode
impl Send for BrotliDecoderErrorCode
impl Sync for BrotliDecoderErrorCode
impl Unpin for BrotliDecoderErrorCode
impl UnwindSafe for BrotliDecoderErrorCode
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