pub struct SOCKS5Proxy {
pub hostname: String,
pub port: u16,
pub auth: Option<BasicAuthentication>,
pub h: bool,
}Fields§
§hostname: String§port: u16§auth: Option<BasicAuthentication>§h: boolIf the proxy server resolves the hostname instead of you directly resolving it to an IP.
Trait Implementations§
Source§impl Clone for SOCKS5Proxy
impl Clone for SOCKS5Proxy
Source§fn clone(&self) -> SOCKS5Proxy
fn clone(&self) -> SOCKS5Proxy
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 moreAuto Trait Implementations§
impl Freeze for SOCKS5Proxy
impl RefUnwindSafe for SOCKS5Proxy
impl Send for SOCKS5Proxy
impl Sync for SOCKS5Proxy
impl Unpin for SOCKS5Proxy
impl UnwindSafe for SOCKS5Proxy
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