pub struct ServerHttp2Settings {
pub initial_stream_window_size: Option<u32>,
pub initial_connection_window_size: Option<u32>,
pub adaptive_window: Option<bool>,
pub max_concurrent_streams: Option<u32>,
pub max_frame_size: Option<u32>,
pub keep_alive_interval: Option<Duration>,
pub keep_alive_timeout: Option<Duration>,
}Expand description
HTTP/2 settings for the server side.
Fields§
§initial_stream_window_size: Option<u32>Initial window size for stream-level flow control (bytes).
initial_connection_window_size: Option<u32>Initial window size for connection-level flow control (bytes).
adaptive_window: Option<bool>Enable adaptive flow control.
max_concurrent_streams: Option<u32>Maximum number of concurrent HTTP/2 streams per connection.
max_frame_size: Option<u32>Maximum HTTP/2 frame size (bytes).
keep_alive_interval: Option<Duration>Interval for HTTP/2 PING keep-alive frames.
keep_alive_timeout: Option<Duration>Timeout for acknowledgement of keep-alive PING.
Trait Implementations§
Source§impl Clone for ServerHttp2Settings
impl Clone for ServerHttp2Settings
Source§fn clone(&self) -> ServerHttp2Settings
fn clone(&self) -> ServerHttp2Settings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerHttp2Settings
impl Debug for ServerHttp2Settings
Source§impl Default for ServerHttp2Settings
impl Default for ServerHttp2Settings
Source§fn default() -> ServerHttp2Settings
fn default() -> ServerHttp2Settings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerHttp2Settings
impl RefUnwindSafe for ServerHttp2Settings
impl Send for ServerHttp2Settings
impl Sync for ServerHttp2Settings
impl Unpin for ServerHttp2Settings
impl UnsafeUnpin for ServerHttp2Settings
impl UnwindSafe for ServerHttp2Settings
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