pub enum Setting {
EnablePush(u32),
HeaderTableSize(u32),
InitialWindowSize(u32),
MaxConcurrentStreams(u32),
MaxFrameSize(u32),
MaxHeaderListSize(u32),
Unsupported(u32),
}Expand description
Available settings.
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.
Implementations§
Source§impl Setting
impl Setting
Sourcepub fn is_enable_push(&self) -> bool
pub fn is_enable_push(&self) -> bool
Indicates that this a Setting::HeadersTableSize.
Sourcepub fn is_header_table_size(&self) -> bool
pub fn is_header_table_size(&self) -> bool
Indicates that this a Setting::HeadersTableSize.
Sourcepub fn is_initial_window_size(&self) -> bool
pub fn is_initial_window_size(&self) -> bool
Indicates that this a Setting::InitialWindowSize.
Sourcepub fn is_max_concurrent_streams(&self) -> bool
pub fn is_max_concurrent_streams(&self) -> bool
Indicates that this a Setting::MaxConcurrentStreams.
Sourcepub fn is_max_frame_size(&self) -> bool
pub fn is_max_frame_size(&self) -> bool
Indicates that this a Setting::MaxFrameSize.
Sourcepub fn is_max_header_list_size(&self) -> bool
pub fn is_max_header_list_size(&self) -> bool
Indicates that this a Setting::MaxHeaderListSize.
Sourcepub fn is_unsupported(&self) -> bool
pub fn is_unsupported(&self) -> bool
Indicates that this a Setting::Unsupported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
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