pub enum ProxyType {
Socks4,
Socks5,
Http,
Https,
Raw,
}Variants§
Socks4
Socks5
Http
Https
HTTP CONNECT over TLS; certificate validation is skipped so that self-signed corporate proxy certs are accepted.
Raw
Trait Implementations§
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 UnsafeUnpin 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