pub struct Config {
pub max_field_section_size: u64,
pub qpack_max_table_capacity: u64,
pub qpack_blocked_streams: u64,
pub qpack_encoder_capacity: u64,
pub body_buffer: usize,
pub enable_connect_protocol: bool,
}Fields§
§max_field_section_size: u64SETTINGS_MAX_FIELD_SECTION_SIZE we announce and enforce.
qpack_max_table_capacity: u64SETTINGS_QPACK_MAX_TABLE_CAPACITY we announce (decoder side).
qpack_blocked_streams: u64SETTINGS_QPACK_BLOCKED_STREAMS we announce.
qpack_encoder_capacity: u64Use a dynamic table when encoding, up to this capacity (0 = static table only).
body_buffer: usizeBody bytes buffered per stream before reading from QUIC stops (backpressure).
enable_connect_protocol: boolServer: announce SETTINGS_ENABLE_CONNECT_PROTOCOL and accept extended CONNECT with
:protocol (RFC 9220, WebSocket over HTTP/3). Without it such requests are malformed.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more