Enum http_box::http2::Setting
[−]
[src]
pub enum Setting {
EnablePush(u32),
HeaderTableSize(u32),
InitialWindowSize(u32),
MaxConcurrentStreams(u32),
MaxFrameSize(u32),
MaxHeaderListSize(u32),
Unsupported(u32),
}Setting.
Variants
EnablePush(u32)Enable push setting.
HeaderTableSize(u32)Header table size setting.
InitialWindowSize(u32)Initial window size setting.
MaxConcurrentStreams(u32)Maximum concurrent streams setting.
MaxFrameSize(u32)Maximum frame size setting.
MaxHeaderListSize(u32)Maximum header list size setting.
Unsupported(u32)Unsupported setting.
Methods
impl Setting[src]
fn new(&mut self, id: u16, value: u32) -> Setting
Create a new Setting.
fn is_enable_push(&self) -> bool
Indicates that this a Setting::HeadersTableSize.
fn is_header_table_size(&self) -> bool
Indicates that this a Setting::HeadersTableSize.
fn is_initial_window_size(&self) -> bool
Indicates that this a Setting::InitialWindowSize.
fn is_max_concurrent_streams(&self) -> bool
Indicates that this a Setting::MaxConcurrentStreams.
fn is_max_frame_size(&self) -> bool
Indicates that this a Setting::MaxFrameSize.
fn is_max_header_list_size(&self) -> bool
Indicates that this a Setting::MaxHeaderListSize.
fn is_unsupported(&self) -> bool
Indicates that this a Setting::Unsupported.
fn value(&self) -> u32
Retrieve the value.