Struct httpcodec::DecodeOptions [] [src]

pub struct DecodeOptions {
    pub max_start_line_size: usize,
    pub max_header_size: usize,
}

Options for request/response decoders.

Fields

The maximum number of bytes allowed for a start-line part.

The maximum number of bytes allowed for a header part.

Methods

impl DecodeOptions
[src]

DEFAULT_MAX_START_LINE_SIZE: usize = 65535

The default value of max_start_line_size field.

DEFAULT_MAX_HEADER_SIZE: usize = 65535

The default value of max_header_size field.

Trait Implementations

impl Debug for DecodeOptions
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DecodeOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for DecodeOptions
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for DecodeOptions

impl Sync for DecodeOptions