pub enum DirectPathStatus {
Pending,
Established {
remote_addr: SocketAddr,
},
BestEffortUnavailable {
reason: DirectPathUnavailableReason,
},
Failed {
error: String,
},
}Expand description
Best-effort direct-path status for an authenticated peer.
Variants§
Pending
Direct-path establishment is still in progress or may still improve later.
Established
A direct path has been established.
Fields
§
remote_addr: SocketAddrRemote socket address for the established direct path.
A direct path is currently unavailable, but overall connectivity can still continue.
Failed
Direct-path establishment failed in a way the caller should treat as a hard failure.
Trait Implementations§
Source§impl Clone for DirectPathStatus
impl Clone for DirectPathStatus
Source§fn clone(&self) -> DirectPathStatus
fn clone(&self) -> DirectPathStatus
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 DirectPathStatus
impl Debug for DirectPathStatus
Source§impl PartialEq for DirectPathStatus
impl PartialEq for DirectPathStatus
impl Eq for DirectPathStatus
impl StructuralPartialEq for DirectPathStatus
Auto Trait Implementations§
impl Freeze for DirectPathStatus
impl RefUnwindSafe for DirectPathStatus
impl Send for DirectPathStatus
impl Sync for DirectPathStatus
impl Unpin for DirectPathStatus
impl UnsafeUnpin for DirectPathStatus
impl UnwindSafe for DirectPathStatus
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.