pub enum QuicVarIntLen {
One,
Two,
Four,
Eight,
}Expand description
A QUIC variable-integer encoded width.
Variants§
One
One encoded byte, carrying up to 6 value bits.
Two
Two encoded bytes, carrying up to 14 value bits.
Four
Four encoded bytes, carrying up to 30 value bits.
Eight
Eight encoded bytes, carrying up to 62 value bits.
Implementations§
Trait Implementations§
Source§impl Clone for QuicVarIntLen
impl Clone for QuicVarIntLen
impl Copy for QuicVarIntLen
Source§impl Debug for QuicVarIntLen
impl Debug for QuicVarIntLen
impl Eq for QuicVarIntLen
Source§impl Hash for QuicVarIntLen
impl Hash for QuicVarIntLen
Source§impl Ord for QuicVarIntLen
impl Ord for QuicVarIntLen
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for QuicVarIntLen
impl PartialEq for QuicVarIntLen
Source§impl PartialOrd for QuicVarIntLen
impl PartialOrd for QuicVarIntLen
impl StructuralPartialEq for QuicVarIntLen
Auto Trait Implementations§
impl Freeze for QuicVarIntLen
impl RefUnwindSafe for QuicVarIntLen
impl Send for QuicVarIntLen
impl Sync for QuicVarIntLen
impl Unpin for QuicVarIntLen
impl UnsafeUnpin for QuicVarIntLen
impl UnwindSafe for QuicVarIntLen
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