pub struct Settings {
pub header_table_size: u32,
pub enable_push: u32,
pub max_concurrent_streams: u32,
pub initial_window_size: u32,
pub max_frame_size: u32,
pub max_header_list_size: u32,
}Expand description
Settings-Map mit Defaults laut Spec §6.5.2.
Fields§
§header_table_size: u32HEADER_TABLE_SIZE (default 4096).
enable_push: u32ENABLE_PUSH (default 1).
max_concurrent_streams: u32MAX_CONCURRENT_STREAMS (default unlimited, repraesentiert als
u32::MAX).
initial_window_size: u32INITIAL_WINDOW_SIZE (default 65_535).
max_frame_size: u32MAX_FRAME_SIZE (default 16_384).
max_header_list_size: u32MAX_HEADER_LIST_SIZE (default unlimited, u32::MAX).
Implementations§
Trait Implementations§
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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