pub struct ConnectionConfig {
pub max_concurrent_streams: u32,
pub initial_window_size: u32,
pub max_frame_size: u32,
pub header_table_size: u32,
pub max_header_list_size: u32,
}Expand description
Negotiated connection parameters.
Fields§
§max_concurrent_streams: u32Our SETTINGS_MAX_CONCURRENT_STREAMS (peer’s opens are refused above this — we RST with REFUSED_STREAM).
initial_window_size: u32Our SETTINGS_INITIAL_WINDOW_SIZE (per-stream recv credit).
max_frame_size: u32Our SETTINGS_MAX_FRAME_SIZE (largest frame we accept).
header_table_size: u32Our SETTINGS_HEADER_TABLE_SIZE.
max_header_list_size: u32Largest header list we accept (approximate, bytes).
Trait Implementations§
Source§impl Clone for ConnectionConfig
impl Clone for ConnectionConfig
Source§impl Debug for ConnectionConfig
impl Debug for ConnectionConfig
Auto Trait Implementations§
impl Freeze for ConnectionConfig
impl RefUnwindSafe for ConnectionConfig
impl Send for ConnectionConfig
impl Sync for ConnectionConfig
impl Unpin for ConnectionConfig
impl UnsafeUnpin for ConnectionConfig
impl UnwindSafe for ConnectionConfig
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