#[repr(C)]pub enum BrotliDecoderErrorCode {
Show 29 variants
BROTLI_DECODER_NO_ERROR = 0,
BROTLI_DECODER_SUCCESS = 1,
BROTLI_DECODER_NEEDS_MORE_INPUT = 2,
BROTLI_DECODER_NEEDS_MORE_OUTPUT = 3,
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE = -1,
BROTLI_DECODER_ERROR_FORMAT_RESERVED = -2,
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE = -3,
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET = -4,
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME = -5,
BROTLI_DECODER_ERROR_FORMAT_CL_SPACE = -6,
BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE = -7,
BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT = -8,
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1 = -9,
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2 = -10,
BROTLI_DECODER_ERROR_FORMAT_TRANSFORM = -11,
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY = -12,
BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS = -13,
BROTLI_DECODER_ERROR_FORMAT_PADDING_1 = -14,
BROTLI_DECODER_ERROR_FORMAT_PADDING_2 = -15,
BROTLI_DECODER_ERROR_FORMAT_DISTANCE = -16,
BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET = -19,
BROTLI_DECODER_ERROR_INVALID_ARGUMENTS = -20,
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES = -21,
BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS = -22,
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP = -25,
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1 = -26,
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2 = -27,
BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES = -30,
BROTLI_DECODER_ERROR_UNREACHABLE = -31,
}
Variants§
BROTLI_DECODER_NO_ERROR = 0
BROTLI_DECODER_SUCCESS = 1
BROTLI_DECODER_NEEDS_MORE_INPUT = 2
BROTLI_DECODER_NEEDS_MORE_OUTPUT = 3
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE = -1
BROTLI_DECODER_ERROR_FORMAT_RESERVED = -2
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE = -3
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET = -4
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME = -5
BROTLI_DECODER_ERROR_FORMAT_CL_SPACE = -6
BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE = -7
BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT = -8
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1 = -9
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2 = -10
BROTLI_DECODER_ERROR_FORMAT_TRANSFORM = -11
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY = -12
BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS = -13
BROTLI_DECODER_ERROR_FORMAT_PADDING_1 = -14
BROTLI_DECODER_ERROR_FORMAT_PADDING_2 = -15
BROTLI_DECODER_ERROR_FORMAT_DISTANCE = -16
BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET = -19
BROTLI_DECODER_ERROR_INVALID_ARGUMENTS = -20
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES = -21
BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS = -22
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP = -25
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1 = -26
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2 = -27
BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES = -30
BROTLI_DECODER_ERROR_UNREACHABLE = -31
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 Freeze for BrotliDecoderErrorCode
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