pub enum QuicPathState {
Probing,
Validating,
Validated,
Primary,
Abandoned,
}Expand description
RFC 9000 § 9 lifecycle of a single path for a QUIC connection. A
connection always has one Primary path; Probing paths are validated
before promotion to Primary.
Variants§
Probing
Newly observed peer address, no challenge in flight yet.
Validating
PATH_CHALLENGE issued, awaiting matching PATH_RESPONSE (RFC 9000 § 8.2).
Validated
PATH_RESPONSE matched; eligible for promotion (RFC 9000 § 9.4).
Primary
Primary path for the connection.
Abandoned
Abandoned after migration or validation failure.
Trait Implementations§
Source§impl Clone for QuicPathState
impl Clone for QuicPathState
Source§fn clone(&self) -> QuicPathState
fn clone(&self) -> QuicPathState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuicPathState
Source§impl Debug for QuicPathState
impl Debug for QuicPathState
impl Eq for QuicPathState
Source§impl PartialEq for QuicPathState
impl PartialEq for QuicPathState
Source§fn eq(&self, other: &QuicPathState) -> bool
fn eq(&self, other: &QuicPathState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuicPathState
Auto Trait Implementations§
impl Freeze for QuicPathState
impl RefUnwindSafe for QuicPathState
impl Send for QuicPathState
impl Sync for QuicPathState
impl Unpin for QuicPathState
impl UnsafeUnpin for QuicPathState
impl UnwindSafe for QuicPathState
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