pub struct Config { /* private fields */ }
Expand description

An HTTP/3 configuration.

Implementations

Creates a new configuration object with default settings.

Sets the SETTINGS_MAX_FIELD_SECTION_SIZE setting.

By default no limit is enforced. When a request whose headers exceed the limit set by the application is received, the call to the poll() method will return the Error::ExcessiveLoad error, and the connection will be closed.

Sets the SETTINGS_QPACK_MAX_TABLE_CAPACITY setting.

The default value is 0.

Sets the SETTINGS_QPACK_BLOCKED_STREAMS setting.

The default value is 0.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.