Enum shadowsocks_service::local::socks::socks4::Address [−][src]
pub enum Address {
SocketAddress(SocketAddrV4),
DomainNameAddress(String, u16),
}
Expand description
SOCKS4 Address type
Variants
SocketAddress(SocketAddrV4)
Socket address (IP Address)
Tuple Fields of SocketAddress
0: SocketAddrV4
Domain name address (SOCKS4a)
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Address
impl UnwindSafe for Address
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more