pub enum EncodeBytes {
One = 1,
Two = 2,
Four = 4,
Eight = 8,
}Expand description
The number of bytes that a QUIC variable-length integer can be encoded in.
VarInt doesn’t need to be encoded on the minimum number of bytes necessary,
with the sole exception of the Frame Type field.
Variants§
Auto Trait Implementations§
impl Freeze for EncodeBytes
impl RefUnwindSafe for EncodeBytes
impl Send for EncodeBytes
impl Sync for EncodeBytes
impl Unpin for EncodeBytes
impl UnsafeUnpin for EncodeBytes
impl UnwindSafe for EncodeBytes
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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