pub enum Type {
Initial,
Retry,
Handshake,
ZeroRTT,
VersionNegotiation,
Short,
}
Expand description
QUIC packet type.
Variants
Initial
Initial packet.
Retry
Retry packet.
Handshake
Handshake packet.
ZeroRTT
0-RTT packet.
VersionNegotiation
Version negotiation packet.
Short
1-RTT short header packet.
Trait Implementations
impl Copy for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more