pub struct Http2Setting { /* private fields */ }Expand description
A raw-preserving HTTP/2 SETTINGS parameter.
Implementations§
Source§impl Http2Setting
impl Http2Setting
Sourcepub const fn new(id: Http2SettingId, value: u32) -> Self
pub const fn new(id: Http2SettingId, value: u32) -> Self
Creates a setting from a raw-preserving identifier and encoded value.
Sourcepub const fn id(self) -> Http2SettingId
pub const fn id(self) -> Http2SettingId
Returns the raw-preserving setting identifier.
Trait Implementations§
Source§impl Clone for Http2Setting
impl Clone for Http2Setting
impl Copy for Http2Setting
Source§impl Debug for Http2Setting
impl Debug for Http2Setting
impl Eq for Http2Setting
Source§impl PartialEq for Http2Setting
impl PartialEq for Http2Setting
impl StructuralPartialEq for Http2Setting
Auto Trait Implementations§
impl Freeze for Http2Setting
impl RefUnwindSafe for Http2Setting
impl Send for Http2Setting
impl Sync for Http2Setting
impl Unpin for Http2Setting
impl UnsafeUnpin for Http2Setting
impl UnwindSafe for Http2Setting
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