#[repr(u16)]pub enum SettingId {
HeaderTableSize = 1,
EnablePush = 2,
MaxConcurrentStreams = 3,
InitialWindowSize = 4,
MaxFrameSize = 5,
MaxHeaderListSize = 6,
}Expand description
Setting-Identifier (RFC 9113 §6.5.2).
Variants§
HeaderTableSize = 1
SETTINGS_HEADER_TABLE_SIZE (0x1).
EnablePush = 2
SETTINGS_ENABLE_PUSH (0x2).
MaxConcurrentStreams = 3
SETTINGS_MAX_CONCURRENT_STREAMS (0x3).
InitialWindowSize = 4
SETTINGS_INITIAL_WINDOW_SIZE (0x4).
MaxFrameSize = 5
SETTINGS_MAX_FRAME_SIZE (0x5).
MaxHeaderListSize = 6
SETTINGS_MAX_HEADER_LIST_SIZE (0x6).
Implementations§
Trait Implementations§
impl Copy for SettingId
impl Eq for SettingId
impl StructuralPartialEq for SettingId
Auto Trait Implementations§
impl Freeze for SettingId
impl RefUnwindSafe for SettingId
impl Send for SettingId
impl Sync for SettingId
impl Unpin for SettingId
impl UnsafeUnpin for SettingId
impl UnwindSafe for SettingId
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