[][src]Enum httlib_hpack::EncoderInput

pub enum EncoderInput {
    Indexed(u32),
    IndexedName(u32Vec<u8>, u8),
    Literal(Vec<u8>, Vec<u8>, u8),
}

An enum representing encoder input formats.

Variants

Indexed(u32)

Represents a fully indexed header field.

IndexedName(u32Vec<u8>, u8)

Represents a header field where name is represented by an index and the value is provided in bytes. This format can hold configuration flags.

Literal(Vec<u8>, Vec<u8>, u8)

Represents a header field where name and value are provided in bytes. This format can hold configuration flags.

Trait Implementations

impl Debug for EncoderInput[src]

impl<'a> From<(Vec<u8>, Vec<u8>, u8)> for EncoderInput[src]

impl<'a> From<(u32, Vec<u8>, u8)> for EncoderInput[src]

impl<'a> From<u32> for EncoderInput[src]

Auto Trait Implementations

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