[−][src]Struct hpack_codec::HeaderBlockEncoder
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]
F: Into<RawHeaderField<'b>>,
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,
W: Send,
impl<'a, W> Sync for HeaderBlockEncoder<'a, W> where
W: Sync,
W: Sync,
impl<'a, W> Unpin for HeaderBlockEncoder<'a, W> where
W: Unpin,
W: Unpin,
impl<'a, W> !UnwindSafe for HeaderBlockEncoder<'a, W>
impl<'a, W> RefUnwindSafe for HeaderBlockEncoder<'a, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
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,