pub struct Http3Config { /* private fields */ }Expand description
An HTTP/3 configuration.
Implementations§
Source§impl Http3Config
impl Http3Config
Sourcepub const fn new() -> Result<Http3Config>
pub const fn new() -> Result<Http3Config>
Create default HTTP/3 configuration.
Sourcepub fn set_max_field_section_size(&mut self, v: u64)
pub fn set_max_field_section_size(&mut self, v: u64)
Set the SETTINGS_MAX_FIELD_SECTION_SIZE setting.
The default value is unlimited.
Sourcepub fn set_qpack_max_table_capacity(&mut self, v: u64)
pub fn set_qpack_max_table_capacity(&mut self, v: u64)
Set the SETTINGS_QPACK_MAX_TABLE_CAPACITY setting.
The default value is 0.
Sourcepub fn set_qpack_blocked_streams(&mut self, v: u64)
pub fn set_qpack_blocked_streams(&mut self, v: u64)
Set the SETTINGS_QPACK_BLOCKED_STREAMS setting.
The default value is 0.
Trait Implementations§
Source§impl Default for Http3Config
impl Default for Http3Config
Source§fn default() -> Http3Config
fn default() -> Http3Config
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Http3Config
impl RefUnwindSafe for Http3Config
impl Send for Http3Config
impl Sync for Http3Config
impl Unpin for Http3Config
impl UnwindSafe for Http3Config
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