pub enum ClashProxyYamlInput {
Show 13 variants
Shadowsocks(ClashInputShadowsocks),
ShadowsocksR(ClashInputShadowsocksR),
VMess(ClashInputVMess),
Trojan(ClashInputTrojan),
Http(ClashInputHttp),
Socks5(ClashInputSocks5),
Snell(ClashInputSnell),
WireGuard(ClashInputWireGuard),
Hysteria(ClashInputHysteria),
Hysteria2(ClashInputHysteria2),
VLess(ClashInputVLess),
AnyTls(ClashInputAnyTLS),
Unknown,
}Expand description
Represents a single proxy in Clash configuration
Variants§
Shadowsocks(ClashInputShadowsocks)
ShadowsocksR(ClashInputShadowsocksR)
VMess(ClashInputVMess)
Trojan(ClashInputTrojan)
Http(ClashInputHttp)
Socks5(ClashInputSocks5)
Snell(ClashInputSnell)
WireGuard(ClashInputWireGuard)
Hysteria(ClashInputHysteria)
Hysteria2(ClashInputHysteria2)
VLess(ClashInputVLess)
AnyTls(ClashInputAnyTLS)
Unknown
Trait Implementations§
Source§impl Clone for ClashProxyYamlInput
impl Clone for ClashProxyYamlInput
Source§fn clone(&self) -> ClashProxyYamlInput
fn clone(&self) -> ClashProxyYamlInput
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 ClashProxyYamlInput
impl Debug for ClashProxyYamlInput
Source§impl<'de> Deserialize<'de> for ClashProxyYamlInput
impl<'de> Deserialize<'de> for ClashProxyYamlInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClashProxyYamlInput
impl RefUnwindSafe for ClashProxyYamlInput
impl Send for ClashProxyYamlInput
impl Sync for ClashProxyYamlInput
impl Unpin for ClashProxyYamlInput
impl UnwindSafe for ClashProxyYamlInput
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