[][src]Struct hpack_codec::HeaderBlockEncoder

pub struct HeaderBlockEncoder<'a, W> { /* fields omitted */ }

Header Block Encoder.

Methods

impl<'a, W: Write> HeaderBlockEncoder<'a, W>[src]

pub fn encode_field<'b, F>(&'b mut self, field: F) -> Result<()> where
    F: Into<RawHeaderField<'b>>, 
[src]

Encodes a header field.

pub fn finish(self) -> W[src]

Finishes the encoding for the header block.

pub fn table(&self) -> &Table[src]

Returns the indexing table of this decoder.

Trait Implementations

impl<'a, W: Debug> Debug for HeaderBlockEncoder<'a, W>[src]

Auto Trait Implementations

impl<'a, W> Send for HeaderBlockEncoder<'a, W> where
    W: Send

impl<'a, W> Sync for HeaderBlockEncoder<'a, W> where
    W: Sync

impl<'a, W> Unpin for HeaderBlockEncoder<'a, W> where
    W: Unpin

impl<'a, W> !UnwindSafe for HeaderBlockEncoder<'a, W>

impl<'a, W> RefUnwindSafe for HeaderBlockEncoder<'a, W> where
    W: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]