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