[−][src]Struct hpack_codec::HeaderBlockDecoder
Header Block Decoder.
Methods
impl<'a, 'b: 'a> HeaderBlockDecoder<'a, 'b>
[src]
pub fn decode_field(&mut self) -> Result<Option<HeaderField>>
[src]
Decodes a header field.
If it reached the end of this block, Ok(None)
will be returned.
pub fn decode_raw_field(&mut self) -> Result<Option<RawHeaderField<'b>>>
[src]
Decodes a header field and returns the raw representation of it.
This method may be useful for intermediaries (see: [6.2.3. Literal Header Field Never Indexed] (https://tools.ietf.org/html/rfc7541#section-6.2.3)).
pub fn table(&self) -> &Table
[src]
Returns the indexing table of this decoder.
Trait Implementations
impl<'a, 'b> Debug for HeaderBlockDecoder<'a, 'b>
[src]
Auto Trait Implementations
impl<'a, 'b> Send for HeaderBlockDecoder<'a, 'b>
impl<'a, 'b> Sync for HeaderBlockDecoder<'a, 'b>
impl<'a, 'b> Unpin for HeaderBlockDecoder<'a, 'b>
impl<'a, 'b> !UnwindSafe for HeaderBlockDecoder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for HeaderBlockDecoder<'a, 'b>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,