pub enum ProxyType {
Show 14 variants
Unknown,
Shadowsocks,
ShadowsocksR,
VMess,
Trojan,
Snell,
HTTP,
HTTPS,
Socks5,
WireGuard,
Hysteria,
Hysteria2,
Vless,
AnyTls,
}Expand description
Represents the type of a proxy. This is the canonical enum used for proxy type identification across the application.
Variants§
Unknown
Shadowsocks
ShadowsocksR
VMess
Trojan
Snell
HTTP
HTTPS
Socks5
WireGuard
Hysteria
Hysteria2
Vless
AnyTls
Implementations§
Trait Implementations§
impl Copy for ProxyType
impl Eq for ProxyType
impl StructuralPartialEq for ProxyType
Auto Trait Implementations§
impl Freeze for ProxyType
impl RefUnwindSafe for ProxyType
impl Send for ProxyType
impl Sync for ProxyType
impl Unpin for ProxyType
impl UnwindSafe for ProxyType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.