Struct hpack_codec::Encoder [] [src]

pub struct Encoder { /* fields omitted */ }

HPACK Encoder.

Methods

impl Encoder
[src]

[src]

Makes a new Encoder instance.

[src]

Returns the indexing table of this decoder.

[src]

Sets the hard limit of the dynamic table size of this encoder.

[src]

Sets the soft limit of the dynamic table size of this encoder.

Errors

If max_size exceeds the hard limit of this, an error will be returned.

[src]

Returns a HeaderBlockEncoder instance for encoding header fields to the block.

Trait Implementations

impl Debug for Encoder
[src]

[src]

Formats the value using the given formatter.