#[repr(u8)]pub enum ProxyConnectStatus {
Pending = 0,
Connected = 1,
PolicyDenied = 2,
UpstreamConnectFailed = 3,
}Expand description
Terminal connection status reported by an outbound proxy task.
Variants§
Pending = 0
No final proxy connection status has been reported yet.
Connected = 1
The proxy connected to the upstream.
PolicyDenied = 2
The proxy denied the connection before dialing upstream.
UpstreamConnectFailed = 3
The proxy attempted to dial upstream and the connect failed.
Trait Implementations§
Source§impl Clone for ProxyConnectStatus
impl Clone for ProxyConnectStatus
Source§fn clone(&self) -> ProxyConnectStatus
fn clone(&self) -> ProxyConnectStatus
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 ProxyConnectStatus
Source§impl Debug for ProxyConnectStatus
impl Debug for ProxyConnectStatus
impl Eq for ProxyConnectStatus
Source§impl PartialEq for ProxyConnectStatus
impl PartialEq for ProxyConnectStatus
Source§fn eq(&self, other: &ProxyConnectStatus) -> bool
fn eq(&self, other: &ProxyConnectStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProxyConnectStatus
Auto Trait Implementations§
impl Freeze for ProxyConnectStatus
impl RefUnwindSafe for ProxyConnectStatus
impl Send for ProxyConnectStatus
impl Sync for ProxyConnectStatus
impl Unpin for ProxyConnectStatus
impl UnsafeUnpin for ProxyConnectStatus
impl UnwindSafe for ProxyConnectStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.