pub struct SettingsBuilder(/* private fields */);Expand description
Allows building Settings.
Implementations§
Source§impl SettingsBuilder
impl SettingsBuilder
Sourcepub fn qpack_max_table_capacity(self, value: VarInt) -> Self
pub fn qpack_max_table_capacity(self, value: VarInt) -> Self
Sets the QPACK max dynamic table capacity.
Sourcepub fn qpack_blocked_streams(self, value: VarInt) -> Self
pub fn qpack_blocked_streams(self, value: VarInt) -> Self
Sets the upper bound on the number of streams that can be blocked.
Sourcepub fn enable_connect_protocol(self) -> Self
pub fn enable_connect_protocol(self) -> Self
Enables CONNECT method.
Sourcepub fn enable_webtransport(self) -> Self
pub fn enable_webtransport(self) -> Self
Enables WebTransport support.
Sourcepub fn enable_h3_datagrams(self) -> Self
pub fn enable_h3_datagrams(self) -> Self
Enables HTTP3 datagrams support.
Sourcepub fn webtransport_max_sessions(self, value: VarInt) -> Self
pub fn webtransport_max_sessions(self, value: VarInt) -> Self
Sets the max number of webtransport sessions server accepts over single HTTP/3 connection.
Auto Trait Implementations§
impl Freeze for SettingsBuilder
impl RefUnwindSafe for SettingsBuilder
impl Send for SettingsBuilder
impl Sync for SettingsBuilder
impl Unpin for SettingsBuilder
impl UnsafeUnpin for SettingsBuilder
impl UnwindSafe for SettingsBuilder
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