Expand description
SOCKS proxy clients
Structs§
- Iter
- An iterator over
SocketAddrs associated with aTargetAddr. - Socks4
Listener - A SOCKS4 and SOCKS4A BIND client.
- Socks4
Stream - A SOCKS4 and SOCKS4A client.
- Socks5
Datagram - A SOCKS5 and SOCKS5H UDP client.
- Socks5
Listener - A SOCKS5 and SOCKS5H BIND client.
- Socks5
Stream - A SOCKS5 and SOCKS5H client.
Enums§
- Error
- Errors from socks2
- Target
Addr - A description of a connection target.
Traits§
- ToTarget
Addr - A trait for objects that can be converted to
TargetAddr.
Functions§
- is_
io_ socks2_ error - Takes an
std::io::Errorand determines if it wraps asocks2::Error; - unwrap_
io_ to_ socks2_ error - Takes an
std::io::Errorand attempts to unwrap it into asocks2::Error. Returns aSome(&socks2::Error)on success.