pub struct Http3Setting<'a> { /* private fields */ }Expand description
A raw-preserving HTTP/3 SETTINGS parameter.
Implementations§
Source§impl<'a> Http3Setting<'a>
impl<'a> Http3Setting<'a>
Sourcepub const fn id(&self) -> Http3SettingId
pub const fn id(&self) -> Http3SettingId
Returns the raw-preserving setting identifier.
Sourcepub const fn id_varint(&self) -> QuicVarInt<'a>
pub const fn id_varint(&self) -> QuicVarInt<'a>
Returns the exact setting identifier variable-length integer.
Sourcepub const fn value_varint(&self) -> QuicVarInt<'a>
pub const fn value_varint(&self) -> QuicVarInt<'a>
Returns the exact setting value variable-length integer.
Trait Implementations§
Source§impl<'a> Clone for Http3Setting<'a>
impl<'a> Clone for Http3Setting<'a>
impl<'a> Copy for Http3Setting<'a>
Source§impl<'a> Debug for Http3Setting<'a>
impl<'a> Debug for Http3Setting<'a>
impl<'a> Eq for Http3Setting<'a>
Source§impl<'a> PartialEq for Http3Setting<'a>
impl<'a> PartialEq for Http3Setting<'a>
impl<'a> StructuralPartialEq for Http3Setting<'a>
Auto Trait Implementations§
impl<'a> Freeze for Http3Setting<'a>
impl<'a> RefUnwindSafe for Http3Setting<'a>
impl<'a> Send for Http3Setting<'a>
impl<'a> Sync for Http3Setting<'a>
impl<'a> Unpin for Http3Setting<'a>
impl<'a> UnsafeUnpin for Http3Setting<'a>
impl<'a> UnwindSafe for Http3Setting<'a>
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