Skip to main content

Module client

Module client 

Source
Expand description

Implementation for a SOCKS client handshake.

Re-exportsยง

use super::framework::HandshakeImpl; ๐Ÿ”’
use super::framework::ImplNextStep; ๐Ÿ”’
use super::NO_AUTHENTICATION; ๐Ÿ”’
use super::USERNAME_PASSWORD; ๐Ÿ”’
use crate::msg::SocksAddr; ๐Ÿ”’
use crate::msg::SocksAuth; ๐Ÿ”’
use crate::msg::SocksReply; ๐Ÿ”’
use crate::msg::SocksRequest; ๐Ÿ”’
use crate::msg::SocksStatus; ๐Ÿ”’
use crate::msg::SocksVersion; ๐Ÿ”’
use crate::Error; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use tor_bytes::Reader; ๐Ÿ”’
use tor_bytes::Writer; ๐Ÿ”’
use tor_error::internal; ๐Ÿ”’
use tor_error::into_internal; ๐Ÿ”’
use derive_deftly::Deftly; ๐Ÿ”’
use std::net::IpAddr; ๐Ÿ”’
use std::net::Ipv4Addr; ๐Ÿ”’

Structsยง

SocksClientHandshake
The client (initiator) side of a SOCKS handshake.

Enumsยง

State ๐Ÿ”’
An internal state for a SocksClientHandshake.