pub struct Http3SettingValue { /* private fields */ }Expand description
A raw-preserving outbound HTTP/3 SETTINGS identifier and value.
Implementations§
Source§impl Http3SettingValue
impl Http3SettingValue
Sourcepub const fn new(id: Http3SettingId, value: u64) -> Self
pub const fn new(id: Http3SettingId, value: u64) -> Self
Creates an outbound SETTINGS entry without restricting extension identifiers.
Sourcepub const fn id(self) -> Http3SettingId
pub const fn id(self) -> Http3SettingId
Returns the raw SETTINGS identifier.
Trait Implementations§
Source§impl Clone for Http3SettingValue
impl Clone for Http3SettingValue
impl Copy for Http3SettingValue
Source§impl Debug for Http3SettingValue
impl Debug for Http3SettingValue
impl Eq for Http3SettingValue
Source§impl PartialEq for Http3SettingValue
impl PartialEq for Http3SettingValue
impl StructuralPartialEq for Http3SettingValue
Auto Trait Implementations§
impl Freeze for Http3SettingValue
impl RefUnwindSafe for Http3SettingValue
impl Send for Http3SettingValue
impl Sync for Http3SettingValue
impl Unpin for Http3SettingValue
impl UnsafeUnpin for Http3SettingValue
impl UnwindSafe for Http3SettingValue
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