pub enum PathStatus {
Available,
Backup,
}Expand description
The QUIC-MULTIPATH path status
See section “3.3 Path Status Management”: https://quicwg.org/multipath/draft-ietf-quic-multipath.html#name-path-status-management
Variants§
Available
Paths marked with as available will be used when scheduling packets
If multiple paths are available, packets will be scheduled on whichever has capacity.
Backup
Paths marked as backup will only be used if there are no available paths
If the max_idle_timeout is specified the path will be kept alive so that it does not expire.
Trait Implementations§
Source§impl Clone for PathStatus
impl Clone for PathStatus
Source§fn clone(&self) -> PathStatus
fn clone(&self) -> PathStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathStatus
impl Debug for PathStatus
Source§impl Default for PathStatus
impl Default for PathStatus
Source§fn default() -> PathStatus
fn default() -> PathStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for PathStatus
impl PartialEq for PathStatus
impl Copy for PathStatus
impl Eq for PathStatus
impl StructuralPartialEq for PathStatus
Auto Trait Implementations§
impl Freeze for PathStatus
impl RefUnwindSafe for PathStatus
impl Send for PathStatus
impl Sync for PathStatus
impl Unpin for PathStatus
impl UnwindSafe for PathStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.