Enum hpack::decoder::DecoderError [] [src]

pub enum DecoderError {
    HeaderIndexOutOfBounds,
    IntegerDecodingError(IntegerDecodingError),
    StringDecodingError(StringDecodingError),
    InvalidMaxDynamicSize,
}

Represents all errors that can be encountered while performing the decoding of an HPACK header set.

Variants

HeaderIndexOutOfBoundsIntegerDecodingError(IntegerDecodingError)StringDecodingError(StringDecodingError)InvalidMaxDynamicSize

The size of the dynamic table can never be allowed to exceed the max size mandated to the decoder by the protocol. (by perfroming changes made by SizeUpdate blocks).

Trait Implementations

impl PartialEq for DecoderError
[src]

fn eq(&self, __arg_0: &DecoderError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &DecoderError) -> bool

This method tests for !=.

impl Copy for DecoderError
[src]

impl Clone for DecoderError
[src]

fn clone(&self) -> DecoderError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for DecoderError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.