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§
source§impl PartialEq<Type> for Type
impl PartialEq<Type> for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq 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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.